Skip to content
GeoJSON
EntityQ5533904· pop 22· linked from 36 articles

Also known as .geojson

GeoJSON is an open standard format designed for representing simple geographical features, along with their non-spatial attributes. It is based on the JSON format.

Key facts

File format.name
GeoJSON
File format._noextcode
on
File format.extensions
.json, .geojson
File format._nomimecode
on
File format.mime
application/geo+json
File format.genre
GIS file format
File format.extended from
JSON
File format.open
yes

via Wikipedia infobox

Described at

JavaScript Object Notation (JSON), and the terms object, name, value, array, and number, are defined in IETF RFC 4627 . The key words “MUST”, “MUST NOT”, “REQUIRED”, “SHALL”, “SHALL NOT”, “SHOULD”, “SHOULD NOT”, “RECOMMENDED”, “MAY”, and “OPTIONAL” in this document are to be interpreted as described in IETF RFC 2119 . The GeoJSON object must have a member with the name "type" . This member’s value is a string that determines the type of the GeoJSON object. A GeoJSON geometry object of any type other than "GeometryCollection" must have a member with the name "coordinates" . The value of the coordinates member is always an array. The structure for the elements in this array is determined by the type of geometry. For type "Point" , the "coordinates" member must be a single position. For type "Polygon" , the "coordinates" member must be an array of LinearRing coordinate arrays. For Polygons with multiple rings, the first must be the exterior ring and any others must be interior rings or holes. A GeoJSON object with the type "FeatureCollection" is a feature collection object. The default CRS is a geographic coordinate reference system, using the WGS84 datum, and with longitude and latitude units of decimal degrees. A non-null CRS object has two mandatory members: "type" and "properties" . The value of the type member must be a string, indicating the type of CRS object. A link object has one required member: "href" , and one optional member: "type" . The value of the required "href" member must be a dereferenceable URI. Each of the examples below represents a complete GeoJSON object. Note that unquoted whitespace is not significant in JSON. Whitespace is used in the examples to help illustrate the data structures, but is not required. Coordinates of a Polygon are an array of LinearRing coordinate arrays. The first element in the array represents the exterior ring. Any subsequent elements represent interior rings (or holes).

Excerpt from a page describing this subject · 17,120 chars · not written by Vinony

Wikidata facts

Official website
geojson.org
Show 5 more facts
media type
application/geo+json
file extension
geojson
file format identification pattern
7B
Sources (4)

via Wikidata · CC0

~7 min read

Article

10 sections
Contents
  • History
  • Example
  • Geometries
  • Newline-delimited GeoJSON
  • TopoJSON
  • TopoJSON Schema
  • See also
  • References
  • Sources
  • External links

GeoJSON is an open standard format designed for representing simple geographical features, along with their non-spatial attributes. It is based on the JSON format.

The features include points (therefore addresses and locations), line strings (therefore streets, highways and boundaries), polygons (countries, provinces, tracts of land), and multi-part collections of these types. GeoJSON features are not limited to representing entities of the physical world only; mobile routing and navigation apps, for example, might describe their service coverage using GeoJSON.

Gallery (10)

Connections

Categories