Skip to content

Commit 3995cd2

Browse files
authored
Merge pull request #107940 from stevemunk/geofence-geojson
geofence-geojson: Grammar improvements. Increased Acrolinx score from 82 to 100.
2 parents 82f60c0 + d1733ee commit 3995cd2

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

articles/azure-maps/geofence-geojson.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,16 @@ services: azure-maps
1313

1414
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.
1515

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:
1717

1818
* The GeoJSON Object type can be a `Feature` Object or a `FeatureCollection` Object.
1919
* The Geometry Object type can be a `Point`, `MultiPoint`, `LineString`, `MultiLineString`, `Polygon`, `MultiPolygon`, and `GeometryCollection`.
2020
* All feature properties should contain a `geometryId`, which is used for identifying the geofence.
2121
* 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.
2323
* `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.
2626

2727
| Name | Type | Required | Description |
2828
| :------------ |:------------: |:---------------:| :-----|
@@ -32,10 +32,10 @@ The data for geofence or set of geofences is represented by `Feature` Object and
3232
| businessDayOnly | Boolean | false | Indicate whether the data is only valid during business days. Default value is `false`.|
3333

3434
* 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.
3636
* In point-circle scenario, a circle geometry can be represented using a `Point` geometry object with properties elaborated in [Extending GeoJSON geometries].
3737

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`.
3939

4040
```json
4141
{

0 commit comments

Comments
 (0)