Skip to content

GeoJSONPolygonInput

About GeoJSONPolygonInput

This type represents the input data needed to initialize a GeoJSON polygon.

type

The type of the GeoJSON node. This defaults to and must be “Polygon”.

Type: String!

coordinates

The coordinates for the the GeoJSON polygon, 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). Each element consists of the points that make up the shape.

See GeoJSONCRS for more information.

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

crs

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

Type: GeoJSONCRSInput