RulePoint
- RulePoint 6.1.2
- All Products
geodistance(latitude1, longitude1, latittude2, longitude2)
Argument
| Required
Optional
| Description
|
---|---|---|
latitude1
| Required
| The value of the first latitude point.
|
longitude1
| Required
| The value of the first longitude point.
|
latitude2
| Required
| The value of the second latitude point.
|
longitude2
| Required
| The value of the second longitude point.
|
Parameter Input Options
| Datatype
|
---|---|
Event property
| Real number
|
Watchlist values
| Real number
|
WHEN 1 boat b WITH geodistance(b.x1,b.y1,b.x2,b.y2) as distance =10 then response with body= “${distance}”
Event Property Value
| Description
| Result
|
---|---|---|
b.x1=10
b.y1=10
b.x2=10
b.y2=20
| Finds the distance between two geo points.
| 10
|