Polygon Class

Polygon geometry.

All required parameters must be populated in order to send to Azure.

Inheritance
azure.agrifood.farming.models._models_py3.GeoJsonObject
Polygon
azure.agrifood.farming.models._models_py3.PolygonCoordinates
Polygon

Constructor

Polygon(*, coordinates: List[List[List[float]]], **kwargs)

Parameters

coordinates
list[list[list[float]]]
Required

Required. Gets or sets type of the GeoJSON Object. It must be an array of linear ring coordinate arrays. For Polygons with more than one of these rings, the first MUST be the exterior ring, and any others MUST be interior rings.

type
str or GeoJsonObjectType
Required

Required. GeoJSON object type.Constant filled by server. Possible values include: "Point", "Polygon", "MultiPolygon".