environmentaltools.drone.plot_polygon_flight_plan

environmentaltools.drone.plot_polygon_flight_plan(polygon_gps, polygon_utm, lines, waypoints, output_path, polygon_number)[source]

Creates flight plan plots for an individual polygon.

Parameters:
  • polygon_gps (shapely.geometry.Polygon) – Polygon in GPS coordinates.

  • polygon_utm (shapely.geometry.Polygon) – Polygon in UTM coordinates.

  • lines (list) – List of scan lines.

  • waypoints (list) – List of waypoint dictionaries.

  • output_path (str) – Output directory path.

  • polygon_number (int) – Polygon number for labeling.

Returns:

Path to generated image file.

Return type:

str