Geofencing
DPYGEOFENCINGTOOL Linux Programmer's Manual DPYGEOFENCINGTOOL
DESCRIPTION
dpygeofencingtool : Tool used to manage geofencing zones.
SYNOPSIS
dpygeofencingtool [-h/ --help]
dpygeofencingtool [-tv / --toolversion]
dpygeofencingtool [-a/ --addpolygon] <sogid> <id> <name> [<lat> <lon>]
dpygeofencingtool [-ac/ --addcircle] <sogid> <id> <name> <lat> <lon> <radius>
dpygeofencingtool [-al/ --addline] <id> <name> [<lat> <lon>] <radius>
dpygeofencingtool [-e/ --enable] <sogid> <id>
dpygeofencingtool [-d/ --disable] <sogid> <id>
dpygeofencingtool [-r/ --remove] <sogid> <id>
dpygeofencingtool [-es/ --enable-sog] <sogid>
dpygeofencingtool [-ds/ --disable-sog] <sogid>
dpygeofencingtool [-rs/ --remove-sog] <sogid>
dpygeofencingtool [-g/ --sogs]
dpygeofencingtool [-l/ --list] <sogid>
dpygeofencingtool [-v/ --events]
dpygeofencingtool [-fp/ --feedposition] <option>
OPTIONS
-h / --help : Print help command information.
-tv / --toolversion : Print tool version.
-a / --addpolygon <sogid> <id> <name> [<lat> <lon>] : Adds a polygon geofence to database
Description:
<sogid> : Alphanumeric set of geofences id
<id> : Numeric geofence id
<name> : Geofence name
[<lat> <lon>] : Sequence of points of the geofence. It is necessary to indicate al least 3 points.
-ac / --addcircle <sogid> <id> <name> <lat> <lon> <radius>: Adds a point with radius (circle) geofence to database
Description:
<sogid> : Alphanumeric set of geofences id
<id> : Numeric geofence id
<name> : Geofence name
<lat> <lon> : Center point of the geofence.
<radius> : Radius of the geofence in meters.
-al / --addline <sogid> <id> <name> [<lat> <lon>] <radius>: Adds a line with radius geofence to database
Description:
<sogid> : Alphanumeric set of geofences id
<id> : Numeric geofence id
<name> : Geofence name
[<lat> <lon>] : Sequence of points of the geofence. It is necessary to indicate al least 2 points.
<radius> : Radius of the geofence in meters.
-e / --enable <sogid> <id>: Enables geofence
Description:
<sogid> : Alphanumeric set of geofences id
<id> : Id of the geofence to be enabled
-d / --disable <sogid> <id>: Disables geofence
Description:
<sogid> : Alphanumeric set of geofences id
<id> : Id of the geofence to be disabled
-r / --remove <sogid> <id> : Removes geofence in database
Description:
<sogid> : Alphanumeric set of geofences id
<id> : Id of the geofence to be removed
-es / --enable-sog <sogid>: Enables all geofences from a SOG
Description:
<sogid> : Alphanumeric set of geofences id
-ds / --disable-sog <sogid>: Disables all geofences from a SOG
Description:
<sogid> : Alphanumeric set of geofences id
-rs / --remove-sog <sogid>: Removes all geofences from a SOG
Description:
<sogid> : Alphanumeric set of geofences id
-g / --sogs: Gets every set of geofences in database
-l / --list <sogid>: Gets every geofence in the set
-v / --events: Subscribes to entering and leaving events
-fp / --feedposition <lat> <lon> : Feed the geofencing service with a custom position.
<option> : Possible values are:
<lat> <lon> : Enable the custom position feed and get the custom position.
disable : Disable the custom position feed and get positions from gnss service.
EXAMPLES
dpygeofencingtool -a mysog 1 polygon 41.651856 -4.728325 41.652217 -4.729280 41.652441 -4.727939
dpygeofencingtool -ac mysog 2 poi 41.516842 -4.716624 10
dpygeofencingtool -al mysog 3 subida 42.201922 -4.396001 42.202578 -4.394323 42.203107 -4.393882 12
dpygeofencingtool -d mysog 2
dpygeofencingtool -e mysog 2
dpygeofencingtool -r mysog 2
dpygeofencingtool -g
dpygeofencingtool -l mysog
dpygeofencingtool -fp 41.516842 -4.716624
dpygeofencingtool -fp disable
dpygeofencingtool -v
FILES
JSON Configuration file : /mntSFS/gmvCNF/geofencing_conf.json
BUGS
SEE ALSO
AUTHORS
Deepsy Team
