SPL File RegionMatchTypes.spl

Content

Types

Composites

composite RegionMatchTypes

Types that are used together with the RegionMatch operator.

Static Types

RegionMatchTypes.RegionInfo = tuple<rstring id, rstring polygonAsWKT, boolean removeRegion, boolean notifyOnEntry, boolean notifyOnExit, boolean notifyOnHangout, int64 minimumDwellTime, int64 timeout>;

The RegionMatch operator matches device locations against geographical rgions stored in tte operator. Each region added to the operator needs to conform to the RegionInfo type. The type contains the following attributes.

  • id

    The unique identifier of the region.

  • polygonAsWKT

    The geometry of the region as WKT string. For example : POLYGON((13.413140166512107 52.53577235025506,13.468071807137107 52.53577235025506,13.468071807137107 52.51279486997035,13.413140166512107 52.51279486997035,13.413140166512107 52.53577235025506))

  • removeRegion

    A flag indicating if the region shall be removed. If false the region will be added. If true it will be removed. On removal only the regionId field is needed.

  • notifyOnEntry

    A flag indicating if an ENTRY event shall be generated when a device enters the region.

    
    * * **notifyOnExit**
    
    *   A flag indicating if an EXIT event shall be generated when a device leaves the region.
    
    * * **notifyOnHangout**
    
    *   A flag indicating if a HANGOUT event shall be generated when a device stays in the region for some time.
    
  • minimumDwellTime

    The minimum time in seconds a device has to be observed in a certain region, before a 'Hangout' event is reported.

  • timeout

    Device timeout in seconds. In case a device was last observed more than timeout seconds ago, the device is treated as stale and is removed before the new observation is processed. If this value is zero, no timeout handling is performed.