Geo functions

These are functions for detecting if the location point is inside the given set of geofences. The function can be used in the directive filter-row-if-false, filter-row-if-true, filter-row-on, set column, set-column or send-to-error.

Pre-requisite

The Geofences should be represented in geojson format. The location coordinates should be represented as Double type values .

Example data

fence in the input is defined as json specified below:

{ "type": "FeatureCollection", "features": [ { "type": "Feature", "properties": {}, "geometry": { "type": "Polygon", "coordinates": [ [ [ -122.05870628356934, 37.37943348292772 ], [ -122.05724716186525, 37.374727268782294 ], [ -122.04634666442871, 37.37493189292912 ], [ -122.04608917236328, 37.38175237839049 ], [ -122.05870628356934, 37.37943348292772 ] ] ] } } ] }



Created in 2020 by Google Inc.