选择您的 Cookie 首选项

我们使用必要 Cookie 和类似工具提供我们的网站和服务。我们使用性能 Cookie 收集匿名统计数据,以便我们可以了解客户如何使用我们的网站并进行改进。必要 Cookie 无法停用,但您可以单击“自定义”或“拒绝”来拒绝性能 Cookie。

如果您同意,AWS 和经批准的第三方还将使用 Cookie 提供有用的网站功能、记住您的首选项并显示相关内容,包括相关广告。要接受或拒绝所有非必要 Cookie,请单击“接受”或“拒绝”。要做出更详细的选择,请单击“自定义”。

Geofence concepts

聚焦模式
Geofence concepts - Amazon Location Service
此页面尚未翻译为您的语言。 请求翻译

This section provides some common geofence concepts, including common terminology and how to manage geofences.

Amazon Location Service geofence terminology

Geofence collection

Contains zero or more geofences. It is capable of geofence monitoring by emitting Entry and Exit events, when requested, to evaluate a device position against its geofences.

Geofence

A polygon or circle geometry that defines a virtual boundary on a map.

Polygon geometry

An Amazon Location geofence is a virtual boundary for a geographical area and is represented as a polygon geometry or as a circle.

A circle is a point with a distance around it. Use a circle when you want to be notified if a device is within a certain distance of a location.

A polygon is an array composed of 1 or more linear rings. Use a polygon when you want to define a specific boundary for device notifications. A linear ring is an array of four or more vertices, where the first and last vertex are the same to form a closed boundary. Each vertex is a 2-dimensional point of the form [longitude, latitude], where the units of longitude and latitude are degrees. The vertices must be listed in counter-clockwise order around the polygon.

The following is an example of a single linear external ring:

[ [ [-5.716667, -15.933333], [-14.416667, -7.933333], [-12.316667, -37.066667], [-5.716667, -15.933333] ] ]
Note

Amazon Location Service doesn't support polygons with more than one ring. This includes holes, islands, or multipolygons. Amazon Location also doesn't support polygons that are wound clockwise, or that cross the antimeridian.

本页内容

下一主题:

Get started

上一主题:

Geofences
隐私网站条款Cookie 首选项
© 2025, Amazon Web Services, Inc. 或其附属公司。保留所有权利。