mark-p-thomas : GeoJSON Feature

These terms adhere to RFC 7946 - The GeoJSON Format.

Sections

Definition

This defines a GeoJson Feature object which represents a spatially bound thing. Every Feature object is a GeoJson object no matter where it occurs in a GeoJson text. A Feature object will always have a "type" member with the value "Feature".

A Feature object has a member with the name "geometry". The value of the geometry member SHALL be either a Geometry object or, in the case that the Feature is not located, a JSON null value.

A Feature object has a member with the name "properties". The value of the properties member is an object (any JSON object or a JSON null value).

JSON Example & Class Diagram

Raw GeoJSON

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

Class Diagram

For complete & up to date information, see the API documentation. For a dynamic interactive diagram, see the FigJam diagram.