RulePoint
- RulePoint 6.2
- All Products
geoinsidearea(pointLat,pointLong,polyLat1,polyLong1,polyLat2,polyLong2,polyLat3,polyLong3,[polyLat4],[ polyLong4],..)
Argument
| Required
Optional
| Description
|
---|---|---|
pointLat, pointLong
| Required
| The two geo points that form the point.
|
polyLat1, polyLong1, polyLat2, polyLong2, polyLat3, polyLong3
| Required
| The minimum points that form a polygon. The number of latitude arguments must be equal to the number of longitude arguments.
|
[polyLat4],[polyLong4],...
| Optional
| The other points that form the polygon.
|
Parameter Input Options
| Datatype
|
---|---|
Event property
| Real number
|
Watchlist values
| Real number
|
WHEN 1 boat b with geoinsidearea(b.lat, b.long, "100.0","100.0", "100", "-100.0", "-100.0", "-100.0", "100.0","-100.0") as result then response with body= “${result}”
Event Property Value
| Description
| Result
|
---|---|---|
b.lat=0
b.long=0
| Provide latitude-longitude reference points and multiple latitude-longitude points of a polygon to verify the points are within the defined polygon.
| true
|