GeoJSON

From OpenStreetMap Wiki
Jump to navigation Jump to search


GeoJSON is file format for representing geodata as JSON. In this format, every Feature element has

  • a geometry of type Point, LineString, Polygon, MultiPoint, MultiLineString, or MultiPolygon,
  • and additional properties.

Read more about GeoJSON at http://geojson.org/, or GeoJSON in Wikipedia (and JSON for an introduction to the JSON base format).

Converting between OSM data and geoJSON

TODO: list more options

Authoring GeoJSON

  • geojson.io - website for authoring and sharing GeoJSON files (on an OpenStreetMap base map!)
  • geojsonlint.com - website that checks validity of GeoJSON data

Displaying GeoJSON on a map

See also

  • awesome-geojson – A collection of applications, tools, libraries, documentation, etc. dealing with GeoJSON data.