GeoJSON 💻

GeoJSON

Open Beta
.geojson · application/geo+json

GeoJSON-ն JSON-ի վրա հիմնված գեոտվյալների բաց ձևաչափ է։ Ստանդարտ լուծում վեբ ծրագրավորողների համար, համատեղելի Leaflet-ի, Mapbox-ի, OpenLayers-ի, D3.js-ի և ցանկացած GIS ծրագրի հետ։

Արտահանել GeoJSON հիմա ✨ Open Beta — անվճար, առանց սահմանափակումների

Հիմնական հատկություններ

Մարդու համար ընթեռնելի JSON ձևաչափ
Օբյեկտների հատկություններ (անուններ, տեսակներ)
WGS84 պրոյեկցիա
Բնածին զննարկիչի աջակցում
Example GeoJSON export (central Moscow, 1x0.5 km)
Example: central Moscow, ~1×0.5 km, medium detail

GeoJSON ֆորմատի մասին

GeoJSON is an open geodata format (RFC 7946) in which geography is written as ordinary JSON: an array of features, each with a geometry and a set of properties. A human can read it in a text editor, any programming language parses it in one line, and practically all web cartography understands it — Leaflet, Mapbox GL, OpenLayers, D3.js — with no plugins or converters.

An OSM map is exported to GeoJSON when you need the features themselves rather than a picture: to attach a layer to a website, compute statistics for a district, filter the categories you need, load the data into PostGIS or run it through GeoPandas. It is also the most convenient intermediate format: from it, ogr2ogr or QGIS will make SHP, GeoPackage, KML — anything you like.

The output is a single UTF-8 file: one FeatureCollection gathering all the layers of the selected area. Every feature keeps its OpenStreetMap attributes (name, type, tags) and a service property _layer with the name of its source layer — one line of filtering takes the data apart again into roads, buildings, water, greenery and points of interest. Coordinates are WGS84 (EPSG:4326), as the specification requires; the recorded precision is six decimal places, about ten centimeters on the ground: the file drops into any GIS and any web framework with no reprojection.

Ո՞ր ծրագիրն է բացում GeoJSON ֆայլերը

Հետևյալ ծրագրերն ու հավելվածները կարող են բացել, խմբագրել և աշխատել OSM2CDR-ից արտահանված GeoJSON (.geojson) ֆայլերի հետ՝

💻Leaflet 💻Mapbox 🌎QGIS 💻D3.js 💻Kepler.gl 💻GeoPandas

Format specifications

Ո՞վ է օգտագործում GeoJSON քարտեզները

🏗
Վեբ ծրագրավորում
The native format for Leaflet, Mapbox and OpenLayers: the map is attached to a site with a couple of lines of code.
💻
Ինտերակտիվ քարտեզներ
Vector layers with attributes for clickable maps with tooltips and filters.
📊
Տվյալների վիզուալիզացիա
A ready source for D3.js and dashboards: boundaries, POI and routes in standard JSON.
🎨
API-ներ և ծառայություններ
A lightweight geodata exchange format for REST APIs and microservices.
🗺
Տվյալների գիտություն
Loading city geometry into GeoPandas and QGIS for spatial analysis.

Ինչպես արտահանել GeoJSON

1
Ընտրել տարածք
Գծեք ուղղանկյուն կամ բազմանկյուն ինտերակտիվ քարտեզի վրա՝ osm2cdr.ru կայքում։
2
Ընտրել GeoJSON
Ցանկից ընտրեք GeoJSON՝ արտահանման 127 հասանելի ֆորմատներից։
3
Արտահանում
Սեղմեք «Արտահանել» և ստացեք ձեր .geojson ֆայլը 1–5 րոպեում։
4
Ներբեռնում
Ներբեռնեք պատրաստ GeoJSON ֆայլը և բացեք այն Leaflet-ում

Ինչպես բացել արտահանումից հետո

Հանրաճանաչ քարտեզներ GeoJSON ֆորմատով

Անվճար

Ստացեք GeoJSON քարտեզի արտահանումներ

Ներբեռնեք պրոֆեսիոնալ GeoJSON քարտեզներ OpenStreetMap-ից։ Ակնթարթային ստեղծում՝ ցանկացած տարածքի համար։

Անվճար / արտահանում
Արտահանել GeoJSON հիմա →

Հաճախ տրվող հարցեր

Կարո՞ղ եմ GeoJSON-ն բացել զննարկիչում։
Արդյո՞ք GeoJSON-ն անվճար է։
Կարո՞ղ եմ GeoJSON-ն բեռնել PostGIS-ում։
How do I split the export back into layers?
Which projection do the coordinates arrive in?
What should I do if the file turns out too big for a browser?

Համեմատել այլ ֆորմատների հետ

Հարակից ֆորմատներ

Հաճախ արտահանվում են միասին

Related Articles