GeoJSON (Geographic JSON)
GeoJSON ist ein JSON-basiertes Format für die Darstellung geographischer Daten. Es kodiert Punkte, Linien, Polygone und ihre Eigenschaften für Kartierungs- und GIS-Anwendungen.
MIME-Typ
application/geo+json
Typ
Text
Komprimierung
Verlustfrei
Vorteile
- + Human-readable JSON format — easy to debug and edit
- + Universal support in web mapping libraries and GIS tools
- + Simple specification that is easy to generate and consume
- + Standardized as RFC 7946
Nachteile
- − Verbose for large datasets — consider GeoParquet or TopoJSON
- − No built-in support for coordinate reference systems beyond WGS84
- − Topology is not preserved — no shared boundaries
Wann Sie .GEOJSON verwenden sollten
Verwenden Sie GeoJSON für Web-Kartierung (Leaflet, Mapbox), API-Antworten mit Standortdaten und jede Anwendung, die geographische Daten im JSON-Format austauschen muss.
Technische Details
GeoJSON unterstützt Geometrietypen: Point, LineString, Polygon, MultiPoint, MultiLineString, MultiPolygon und GeometryCollection. Koordinaten verwenden WGS84 (Längengrad, Breitengrad).
Geschichte
GeoJSON wurde 2008 von einer Community-Arbeitsgruppe erstellt und 2016 als RFC 7946 standardisiert. Es ist der Standard für Geodaten im Web.