GeoProcessor / GeoJSON
Overview
GeoJSON files are an open specification for geographic layer information, based on the general JSON specification. GeoJSON files are useful because the open specification makes it easy to write, read, and view the files. Because a GeoJSON file is a single file (unlike shapefiles, for example), they are easily handled as web service resources, such as input to web mapping tools like Leaflet. The simple file format is generally simple to troubleshooting because the file can be edited and tested.
The following are resources that explain the specification:
- geojson.org - specification originator
- GeoJSON 2008 specification - original specification
- GeoJSON 2016 RFC 7964 specification - latest specification
- GDAL GeoJSON driver
- OWF / Learn GeoJSON - Open Water Foundation GeoJSON learning resource
GeoJSON Files and Standard GeoLayer Properties
The following summarizes handling of important data elements for GeoLayers:
- GeoLayer identifier...
- Coordinate reference system...
- Other?
Limitations
The following are limitations of GeoJSON files:
- Files can be very large because of verbose text representation.
- Although options exist, there is no common standard for symbology.
- Although options exist, there is no common standard for metadata.
- The JSON specification has some gaps, such as standard for handling
null
andNaN
. - Attributes without values are not written to the GeoJSON feature properties.