GeoJSON specificaton

A standard GeoJSON feature collection with a point and a polygon.

Open in JSON Formatter

About this format

GeoJSON is a format for encoding a variety of geographic data structures like points, lines, and polygons.

Example Data

{
  "type": "FeatureCollection",
  "features": [
    {
      "type": "Feature",
      "geometry": { "type": "Point", "coordinates": [102.0, 0.5] },
      "properties": { "prop0": "value0" }
    }
  ]
}

When to use GeoJSON specificaton

  • Rendering maps with Leaflet
  • Storing coordinates in databases
  • Drawing polygon boundaries