geo gpl

thumbnail
(0)

Version 4.0.18  by WSO2

Category : Siddhi Execution
Supported Product Version : SP 4.0.0 SP 4.1.0 SP 4.2.0 SP 4.3.0 SP 4.4.0  

Summary

The siddhi-gpl-execution-geo extension is an extension to Siddhi that provides geo data related functionality such as checking whether a given geo coordinate is within a predefined geo-fence, etc. Following are the functions of the Geo extension.


Associated Tags

geo-gpl siddhi siddhi-execution

Functions provided by geo gpl extension


  • intersects function

    Returns true if the geoJSONGeometry incoming event intersects the given string (i.e., geoJSONGeometryFence ). Returns false otherwise.
  • within function

    Returns true if the location specified in terms of longitude and latitude is within the geoJSONGeometryFence .
  • withindistance function

    Returns true if the location specified in terms of longitude and latitude is within distance of the geoJSONGeometryFence . Returns false otherwise.
  • crosses function

    Returns true when the the specified object of which the location is specified in terms of longitude and latitude crosses the geographic location specified in geoJSONGeometryFence.
    Returns false when the object crosses out of the location specified in geoJSONGeometryFence .
  • stationary function

    Returns true when the object (defined in terms of longitude and latitude ) becomes stationary within the specified radius.
    Returns false when the object moves out of the specified radius.
  • proximity function

    Returns true when two objects (specified in terms of longitude and latitude) are within the specified radius to another object.
    Returns false when the specified object moves out of the specified radius.
    The proximityWith optional attribute indicates the ID of the object that the object specified is in close proximity with.
    proximityID is a unique ID for the two objects in close proximity.

Extension


Social Sites