- Overview
- GeoJSON is a geospatial data interchange format based on JavaScript Object Notation
- Format uses World Geodetic System 1984 and decimal degrees
- Supersedes original 2008 GeoJSON format specification
- Geometry Types
- Seven concrete geometry types: Point, LineString, MultiPoint, MultiLineString, Polygon, MultiPolygon, GeometryCollection
- GeometryCollection can contain heterogeneous compositions of smaller geometry objects
- Features contain geometry and properties, FeatureCollection contains array of Feature objects
- Technical Details
- Position array must contain two or more elements: longitude/latitude and optional altitude
- Bounding box defines shapes with edges following constant coordinates
- GeometryCollections should be avoided for interoperability
- 'geo' URIs can be mapped to GeoJSON geometries with precise coordinates
- Security and Limitations
- GeoJSON does not provide executable content or privacy/integrity services
- WGS84 datum provides coarse approximation of geoid with height variations up to 5m
- Format is not extensible and semantics cannot be changed
- Security considerations apply to all JSON content types