Package version:

Interface GeoJsonPolygon

GeoJSON Polygon. Reference

To specify a constraint specific to Polygons, it is useful to introduce the concept of a linear ring:

  • A linear ring is a closed LineString with four or more positions.
  • The first and last positions are equivalent, and they MUST contain identical values; their representation SHOULD also be identical.
  • A linear ring is the boundary of a surface or the boundary of a hole in a surface.
  • A linear ring MUST follow the right-hand rule with respect to the area it bounds, i.e., exterior rings are counterclockwise, and holes are clockwise.

Hierarchy

Properties

Properties

bbox?: BBox

Include information on the coordinate range for its Geometries, Features, or FeatureCollections. Reference

coordinates: Object

For type "Polygon", the "coordinates" member MUST be an array of linear ring coordinate arrays.

type: "Polygon"

Representing the type of this GeoJSON object, including the seven geometry type and "Feature", "FeatureCollection". Reference

Generated using TypeDoc