Survey

Main interface object to create to plan routes for a survey. A use usage exmaple is given in the Tutorial.

class wadl.survey.Survey(name='survey', outDir=None)

Bases: object

Holds all the information of a single survey

Parameters:
  • name (str, optional) – name of the survey
  • outDir (str, optional) – location of output directory
addTask(file, **kwargs)

Add a task to the survey.

Parameters:
  • file (str) – filename of geofence
  • step (int, optional) – grid step size. defaults 40.
  • rotation (int, optional) – rotation of the grid by radians.
  • limit (float, optional) – default flight time limit
  • home (srt, optional) – key(s) of home location(s)
  • priority (wadl.lib.Areas) – Areas object of high priority sections
  • routeParamters (RouteParameters) – Desired settings for each route in this task
plan(write=True, showPlot=False, relinking=False)

Plan the survey.

Parameters:
  • write (bool) – write the paths as csv file and save the plot of the route. default True
  • showPlot (bool) – show the plot of the routes. default False.
setKeyPoints(points)

Set the keyPoints in the survey.

Parameters:points (dict) – map of str->(lat, long) of key points in the survey. These points can be used as home locations.
setSolverParamters(parameters)

Set the solver parameters.

Parameters:parameters (SolverParamters) – sets the solver settings
view(showGrid=True, save=None)

View the current survey (unplanned)

Parameters:showGrid (bool) – shows the grid lines of the coverage area default True.