Fence

Tools for interfaceing with geofence data in different formats.

class wadl.lib.fence.Areas(file)

Bases: object

Holds the gps cords of the set of areas given by a kml file

Parameters:file (str) – (lat, lng)
Returns
Area: Container for a set of geofence objects
plot(ax, color='k')

Plots the geofence in UTM

Parameters:ax (pyplot.axis) – axis object from pyplot you want to draw on
class wadl.lib.fence.Fence(file)

Bases: object

Holds the gps cords of the boundary of the area given by a cvs file

Parameters:file (str) –
plot(ax, color='m')

Plots the geofence in UTM

Parameters:
  • ax (pyplot.axis) – axis object from pyplot you want to draw on
  • color ('str') – color string for the geofence. default ‘m’ (magenta).