GeofenceGeometry
Contains the geofence geometry details.
A geofence geometry can be a circle, a polygon, or a multipolygon. Polygon
and MultiPolygon
geometries can be defined using their respective parameters, or encoded in Geobuf format using the Geobuf
parameter. Including multiple geometry types in the same request will return a validation error.
Amazon Location doesn't currently support polygons that cross the antimeridian.
Types
Properties
A MultiPolygon
is a list of up to 250 Polygon
elements which represent the shape of a geofence. The Polygon
components of a MultiPolygon
geometry can define separate geographical areas that are considered part of the same geofence, perimeters of larger exterior areas with smaller interior spaces that are excluded from the geofence, or some combination of these use cases to form complex geofence boundaries.
A Polygon
is a list of up to 250 linear rings which represent the shape of a geofence. This list must include 1 exterior ring (representing the outer perimeter of the geofence), and can optionally include up to 249 interior rings (representing polygonal spaces within the perimeter, which are excluded from the geofence area).