GeoJSON

Uses your system voice; voice and rate in settings.

Q5533904Snapshot

≈ 4 min read

Names in other languages

  • beGeoJSON
  • DeutschGeoJSON
  • EnglishGeoJSON
  • FrançaisGeoJSON
  • ItalianoGeoJSON
  • NederlandsGeoJSON
  • РусскийGeoJSON
  • СрпскиGeoJSON

Article bodies are English and are not machine-translated. A name in another language is not a translation of the article.

GeoJSON is an open standard format designed for representing simple geographical features, along with their non-spatial attributes. It is based on the JSON format. The features include points (therefore addresses and locations), line strings (therefore streets, highways and boundaries), polygons (countries, provinces, tracts of land), and multi-part collections of these types.

GeoJSON features are not limited to representing entities of the physical world only; mobile routing and navigation apps, for example, might describe their service coverage using GeoJSON. The GeoJSON format differs from other geographic information system standards in that it was written and is maintained not by a formal standards organization, but by an Internet working group of developers. A notable offspring of GeoJSON is TopoJSON, an extension of GeoJSON that encodes geospatial topology and that typically provides smaller file sizes.

GeoJSON is an open standard format designed for representing simple geographical features, along with their non-spatial attributes. It is based on the JSON format. The features include points (therefore addresses and locations), line strings (therefore streets, highways and boundaries), polygons (countries, provinces, tracts of land), and multi-part collections of these types.

GeoJSON features are not limited to representing entities of the physical world only; mobile routing and navigation apps, for example, might describe their service coverage using GeoJSON. The GeoJSON format differs from other geographic information system standards in that it was written and is maintained not by a formal standards organization, but by an Internet working group of developers. A notable offspring of GeoJSON is TopoJSON, an extension of GeoJSON that encodes geospatial topology and that typically provides smaller file sizes.

History

The GeoJSON format working group and discussion were begun in March 2007 and the format specification was finalized in June 2008. In April 2015, the Internet Engineering Task Force founded the Geographic JSON working group which released GeoJSON as RFC 7946 in August 20161.

Example

{ "type": "FeatureCollection", "features": [{ "type": "Feature", "geometry": { "type": "Point", "coordinates": [102.0, 0.5] }, "properties": { "prop0": "value0" } }, { "type": "Feature", "geometry": { "type": "LineString", "coordinates": [ [102.0, 0.0], [103.0, 1.0], [104.0, 0.0], [105.0, 1.0] ] }, "properties": { "prop0": "value0", "prop1": 0.0 } }, { "type": "Feature", "geometry": { "type": "Polygon", "coordinates": [ [ [100.0, 0.0], [101.0, 0.0], [101.0, 1.0], [100.0, 1.0], [100.0, 0.0] ] ] }, "properties": { "prop0": "value0", "prop1": { "this": "that" } } }] }

Geometries

Points are [x, y] or [x, y, z]. They may be [longitude, latitude] or [eastings, northings]. Elevation, in meters, is an optional third number. They are decimal numbers.

For example, London (51.5074° North, 0.1278° West) is [-0.1278, 51.5074] The coordinate reference system for all GeoJSON coordinates is a geographic coordinate reference system, using the World Geodetic System 1984 (WGS 84) [WGS84] datum, with longitude and latitude units of decimal degrees. { "type": "Topology", "transform": { "scale": [1, 1], "translate": [0, 0] }, "objects": { "two-squares": { "type": "GeometryCollection", "geometries": [ { "type": "Polygon", "arcs": 0, 1, "properties": { "name": "Left_Polygon" } }, { "type": "Polygon", "arcs": 2, -1, "properties": { "name": "Right_Polygon" } } ] }, "one-line": { "type": "GeometryCollection", "geometries": [ { "type": "LineString", "arcs": [3], "properties": { "name": "Under_LineString" } } ] }, "two-places": { "type": "GeometryCollection", "geometries":[ { "type": "Point", "coordinates": [0, 0], "properties": { "name": "Origin_Point" } }, { "type": "Point", "coordinates": [0, -1], "properties": { "name": "Under_Point" } } ] } }, "arcs": [ [[1, 2], [0, -2 , [[1, 0], [-1, 0], [0, 2], [1, 0 , [[1, 2], [1, 0], [0, -2], [-1, 0 , [[0, -1], [2, 0 ] }

Text derived from https://en.wikipedia.org/w/index.php?oldid=1374377089 under CC BY-SA 4.0; modifications have been made.

References

  1. ↩Wikipedia “GeoJSON” revision 1374377089 · retrieved 2026-10-20 date of foundation (×1) · confidence 0.95 revision URL