You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/azure-maps/geofence-geojson.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,16 +13,16 @@ services: azure-maps
13
13
14
14
The Azure Maps [GET Geofence] and [POST Geofence] API allow you to retrieve proximity of a coordinate relative to a provided geofence or set of fences. This article details how to prepare the geofence data that can be used in the Azure Maps GET and POST API.
15
15
16
-
The data for geofence or set of geofences is represented by `Feature` Object and `FeatureCollection` Object in `GeoJSON` format, which is defined in [rfc7946]. In Addition to it:
16
+
The data for geofence or set of geofences, represented by the `Feature` Object and `FeatureCollection` Object in `GeoJSON` format, is defined in [rfc7946]. In Addition to it:
17
17
18
18
* The GeoJSON Object type can be a `Feature` Object or a `FeatureCollection` Object.
19
19
* The Geometry Object type can be a `Point`, `MultiPoint`, `LineString`, `MultiLineString`, `Polygon`, `MultiPolygon`, and `GeometryCollection`.
20
20
* All feature properties should contain a `geometryId`, which is used for identifying the geofence.
21
21
* Feature with `Point`, `MultiPoint`, `LineString`, `MultiLineString` must contain `radius` in properties. `radius` value is measured in meters, the `radius` value ranges from 1 to 10000.
22
-
* Feature with `polygon` and `multipolygon` geometry type does not have a radius property.
22
+
* Feature with `polygon` and `multipolygon` geometry type doesn't have a radius property.
23
23
*`validityTime` is an optional property that lets the user set expired time and validity time period for the geofence data. If not specified, the data never expires and is always valid.
24
-
* The `expiredTime` is the expiration date and time of geofencing data. If the value of `userTime` in the request is later than this value, the corresponding geofence data is considered as expired data and is not queried. Upon which, the geometryId of this geofence data will be included in `expiredGeofenceGeometryId` array within the geofence response.
25
-
* The `validityPeriod` is a list of validity time period of the geofence. If the value of `userTime` in the request falls outside of the validity period, the corresponding geofence data is considered as invalid and will not be queried. The geometryId of this geofence data is included in `invalidPeriodGeofenceGeometryId` array within geofence response. The following table shows the properties of validityPeriod element.
24
+
* The `expiredTime` is the expiration date and time of geofencing data. If the value of `userTime` in the request is later than this value, the corresponding geofence data is considered as expired data and isn't queried. Upon which, the geometryId of this geofence data is included in `expiredGeofenceGeometryId` array within the geofence response.
25
+
* The `validityPeriod` is a list of validity time period of the geofence. If the value of `userTime` in the request falls outside of the validity period, the corresponding geofence data is considered as invalid and isn't queried. The geometryId of this geofence data is included in `invalidPeriodGeofenceGeometryId` array within geofence response. The following table shows the properties of validityPeriod element.
@@ -32,10 +32,10 @@ The data for geofence or set of geofences is represented by `Feature` Object and
32
32
| businessDayOnly | Boolean | false | Indicate whether the data is only valid during business days. Default value is `false`.|
33
33
34
34
* All coordinate values are represented as [longitude, latitude] defined in `WGS84`.
35
-
* For each Feature, which contains `MultiPoint`, `MultiLineString`, `MultiPolygon` , or `GeometryCollection`, the properties are applied to all the elements. for example: All the points in `MultiPoint`will use same radius to form a multiple circle geofence.
35
+
* For each Feature, which contains `MultiPoint`, `MultiLineString`, `MultiPolygon` , or `GeometryCollection`, the properties are applied to all the elements. for example: All the points in `MultiPoint` use the same radius to form a multiple circle geofence.
36
36
* In point-circle scenario, a circle geometry can be represented using a `Point` geometry object with properties elaborated in [Extending GeoJSON geometries].
37
37
38
-
Following is a sample request body for a geofence represented as a circle geofence geometry in `GeoJSON` using a center point and a radius. The valid period of the geofence data starts from 2018-10-22, 9AM to 5PM, repeated every day except for the weekend. `expiredTime` indicates this geofence data will be considered expired, if `userTime` in the request is later than `2019-01-01`.
38
+
Following is a sample request body for a geofence represented as a circle geofence geometry in `GeoJSON` using a center point and a radius. The valid period of the geofence data starts from `2018-10-22`, 9AM to 5PM, repeated every day except for the weekend. `expiredTime` indicates this geofence data is considered expired, if `userTime` in the request is later than `2019-01-01`.
0 commit comments