Tools: Geofencing

Create a geofence

To create a new geofence, click Tools->Geofencing->Add geofence. Type in geofence name and select it's color, then click on the map to begin drawing geofence. When you finish drawing geofence, duoble click the last point and click Save.
 

 
Once geofence is created you can view them all on the list and edit anytime.
 

Import and export

To import or export geofence click the button with a gear icon:

 
 
For export single, by groups, active and inactive geofences can be selected:
 
Export is saved in .gexp file.
 
For import can be used KML(polygon shape) or gexp file can be used. 

.gexp file structure

It is a simple text file that has following structure.

Example (single):

{"groups":[],"geofences":[{"id":1130,"group_id":0,"name":"vn","coordinates":"[{\"lat\":48.108348176168,\"lng\":14.284973144531},{\"lat\":48.111099041065,\"lng\":14.403076171875},{\"lat\":48.035855735787,\"lng\":14.400329589844}]","polygon_color":"#a34949"}]}

Format:

"groups" - name of the group geofence belongs. Emtpy [ ] means ungrouped.

"geofences" - list of geofences. Inside it requires "id", "group_id", "name" and "coordinates" to be filled. "Coordinates" requires a list of "lat" and "lng" of coordinates to be filled.

"polygon_color" - color in html hex code.

Did you find this article useful?

  • Tools: Overview

    Tools are used to create alerts/notifications, geofences, POI's, send commands to GPS trackers,...
  • Tools: Alerts

    To create an alert choose "Alerts" in "Tools" menu on the main map window and press "Add alert" butt...
  • Tools: Reports

    Main To create a new report or schedule it, click Tools->Reports     ...
  • Tools: Send command

    Commands can be sent via GPRS or SMS(sms gateway must be enabled (Setup->SMS)). Type - if you sel...
  • Tools: Other

    Ruler To check distance between 2 or more points, click Tools->Ruler and start clicking...