GeoJSON 💻

GeoJSON

Open Beta
.geojson · application/geo+json

GeoJSON is 'n oop geodata-formaat gebaseer op JSON. Die standaardoplossing vir webontwikkelaars, versoenbaar met Leaflet, Mapbox, OpenLayers, D3.js en enige GIS-sagteware.

Voer GeoJSON nou uit ✨ Oop beta — gratis, geen beperkings nie

Sleutelkenmerke

Mensleesbare JSON-formaat
Kenmerk-eienskappe (name, tipes)
WGS84-projeksie
Inheemse blaaierondersteuning
Example GeoJSON export (central Moscow, 1x0.5 km)
Example: central Moscow, ~1×0.5 km, medium detail

Oor die GeoJSON-formaat

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.

Watter program open GeoJSON-lêers

Die volgende programme en toepassings kan GeoJSON (.geojson)-lêers wat uit OSM2CDR uitgevoer is, open, redigeer en daarmee werk:

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

Format specifications

Wie gebruik GeoJSON-kaarte

🏗
Webontwikkeling
The native format for Leaflet, Mapbox and OpenLayers: the map is attached to a site with a couple of lines of code.
💻
Interaktiewe kaarte
Vector layers with attributes for clickable maps with tooltips and filters.
📊
Datavisualisering
A ready source for D3.js and dashboards: boundaries, POI and routes in standard JSON.
🎨
API's en dienste
A lightweight geodata exchange format for REST APIs and microservices.
🗺
Datawetenskap
Loading city geometry into GeoPandas and QGIS for spatial analysis.

Hoe om GeoJSON uit te voer

1
Kies gebied
Teken 'n reghoek of veelhoek op die interaktiewe kaart by osm2cdr.ru
2
Kies GeoJSON
Kies GeoJSON uit die lys van 127 beskikbare uitvoerformate
3
Uitvoer
Klik op Uitvoer en ontvang jou .geojson-lêer binne 1-5 minute
4
Aflaai
Laai die gereede GeoJSON-lêer af en open dit in Leaflet

Hoe om dit ná uitvoer te open

Gewilde kaarte in GeoJSON

Gratis

Kry GeoJSON-kaartuitvoere

Laai professionele GeoJSON-kaarte van OpenStreetMap af. Onmiddellike generering, enige gebied.

Gratis / uitvoer
Voer GeoJSON nou uit →

Gereelde vrae

Kan ek GeoJSON in 'n blaaier oopmaak?
Is GeoJSON gratis?
Kan ek GeoJSON in PostGIS laai?
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?

Vergelyk met ander formate

Verwante formate

Dikwels saam uitgevoer

Related Articles