Skip to content

GeoJSONPolygon

About GeoJSONPolygon

A GeoJSON polygon represents a region in the world. GeoJSON is a formal specification as defined by RFC 7946.

type

The type of the GeoJSON node. For the GeoJSON polygon, this will be “Polygon”.

Type: String!

coordinates

The coordinates that define the region, as determined by the coordinate reference system. The first element in the array represents the exterior ring. Any subsequent elements represent interior rings (or holes).

For more information, see Polygons in RFC 7946.

Type: [[[Float!]!]!]!

crs

The coordinate reference system used for this polygon. See GeoJSONCRS for more information.

Type: GeoJSONCRS