Back to Glossary

GeoJSON

A JSON format for geographic features, using objects like Feature, FeatureCollection, and geometry types like Polygon and MultiPolygon.

Category: Formats · Also known as: RFC 7946 GeoJSON

Definition (expanded)

GeoJSON is a JSON-based standard for encoding geometries and optional properties. A common structure is a FeatureCollection containing Features. Each Feature has a geometry (Polygon, MultiPolygon, etc.) and a properties object. Like WKT, GeoJSON coordinates are typically interpreted as longitude/latitude in WGS84 (EPSG:4326).

Examples

FeatureCollection (GeoJSON)

GeoJSON

{
  "type": "FeatureCollection",
  "features": [
    {
      "type": "Feature",
      "properties": {
        "name": "AOI"
      },
      "geometry": {
        "type": "Polygon",
        "coordinates": [
          [
            [
              12,
              55
            ],
            [
              12.2,
              55
            ],
            [
              12.2,
              55.2
            ],
            [
              12,
              55.2
            ],
            [
              12,
              55
            ]
          ]
        ]
      }
    }
  ]
}

Common mistakes