Skip to content

GeoJSONPolygonInput

Input

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

Input fields

NameTypeDescription
typeString!

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

Default: "Polygon"

coordinates[[[Float!]!]!]!

The coordinates for the the GeoJSON polygon, as determined by the crs (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.

crsGeoJSONCRSInput

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