Table of Contents

Search

  1. Preface
  2. RulePoint
  3. RulePoint Concepts
  4. Using RulePoint
  5. RulePoint Objects
  6. Working with Topics
  7. Working with Connections
  8. Working with Sources
  9. Working with Responders
  10. Working with Responses
  11. Working with Watchlists
  12. Working with Analytics
  13. DRQL
  14. Working with Rules
  15. Working with Alerts
  16. Setting Access Controls
  17. Troubleshooting RulePoint Issues
  18. Connecting to an Ultra Messaging Application
  19. Creating an Ultra Messaging JMS Source

User Guide

User Guide

geooutbound

geooutbound

The geooutbound analytic checks if a line has its points starting inside a polygon and ending outside the polygon. The first four arguments refers to the points of the line. The remaining arguments refer the points of the polygon.
The criteria for creating a polygon and its coordinates is the same as for the geoinbound() analytic.

Syntax

geooutbound(l.lat1,l.long1,l.lat2,l.long2, polyLat1, polyLong1, polyLat2, polyLong2, polyLat3, polyLong3 ,[polyLat4],[ polyLong4],..)
The following table describes the required and optional arguments:
Argument
Required
Optional
Description
l.lat1,l.long1,l.lat2,l.long2
Required
The four geo points that 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 a polygon.
The following table provides the datatype for the parameters you can pass:
Parameter Input Options
Datatype
Event property
Real number
Watchlist values
Real number
Example
when 1 line l with geooutbound(l.lat1,l.long1,l.lat2,l.long2,100,100,100,-100,-100,-100,-100,100) as result then response with body= “${result}”
The following table describes the result for the event property value that you pass:
Event Property Value
Description
Result
l.lat1 =0
l.long1=0
l.lat2=150
l.long2=150
Verifies if the line has its points starting inside a geo polygon and ending outside the geo polygon.
true

0 COMMENTS

We’d like to hear from you!