Generating Flightplans¶
Manually Via Command Line¶
-
Calculate Flight Parameters:
python calculate_parameters.py \ --forward_overlap 70 \ --side_overlap 70 \ --altitude_above_ground_level 115 \ --image_interval 2
This will output a JSON that can be used in step 5 below.
-
Creating Waypoints:
python waypoints.py \ --project_geojson_polygon aoi.geojson \ --altitude_above_ground_level 115 \ --forward_overlap 70 \ --side_overlap 70 \ --generate_each_points \ --take_off_point LON,LAT \ --output_file_path ./waypoints.geojson
-
Add Eleveation Data From A DEM File:
python add_elevation_from_dem.py dsm.tif waypoints.geojson waypoints_with_elevation.geojson
Here we need a DEM in .tiff format.
-
Create Placemark File (For KMZ File):
python create_placemarks.py \ --waypoints_geojson waypoints_with_elevation.geojson \ --parameters '{"forward_photo_height": 84.0, "side_photo_width": 149.0, "forward_spacing": 20.95, "side_spacing": 44.6, "ground_speed": 10.47, "altitude_above_ground_level": 115}' \ --outfile placemarks.geojson
-
Create WMPL Flightplan:
python wpml.py \ --placemark placemarks.geojson \ --outfile flightplan.wpml
Last update:
November 5, 2024