Geo GPL Extension

thumbnail
(0)

Version 3.2.0  by WSO2

Category : Siddhi Function
Supported Product Version : CEP 4.2.0   DAS 3.1.0  

Summary

This extension provides geo data related functionality such as checking whether a given geo coordinate is within a predefined geo-fence, etc.


Associated Tags

Geo-GPL-Extension Siddhi

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.

Social Sites