RulePoint
- RulePoint 6.1.2
- All Products
geoinbound(l.lat1,l.long1,l.lat2,l.long2, polyLat1, polyLong1, polyLat2, polyLong2, polyLat3, polyLong3 ,[polyLat4],[ polyLong4],..)
Argument
| Required
Optional
| Description
|
---|---|---|
l.lat1,l.long1,l.lat2,l.long2
| Required
| The four geo points which form the line.
|
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 line l with geoinbound(l.lat1,l.long1,l.lat2,l.long2,100,100,100,-100,-100,-100,-100,100) as result then response with body= “${result}”
Event Property Value
| Description
| Result
|
---|---|---|
l.lat1 =150
l.long1=150
l.lat2=0
l.long2=0
| Verify that the line has its points starting outside a geo polygon and ending inside the geo polygon.
| true
|