Skip to content

Commit

Permalink
docs: info for creating wpml flightplan manually
Browse files Browse the repository at this point in the history
  • Loading branch information
spwoodcock committed Oct 30, 2024
1 parent 41bb93c commit bcf162b
Show file tree
Hide file tree
Showing 2 changed files with 55 additions and 0 deletions.
53 changes: 53 additions & 0 deletions docs/manuals/generate-flightplans.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
# Generating Flightplans

## Manually Via Command Line

1. Calculate Flight Parameters:

```python
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.
2. Creating Waypoints:

```python
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
```

3. Add Eleveation Data From A DEM File:

```python
python add_elevation_from_dem.py dsm.tif waypoints.geojson waypoints_with_elevation.geojson
```

> Here we need a DEM in .tiff format.
4. Create Placemark File (For KMZ File):

```python
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
```

5. Create WMPL Flightplan:

```python
python wpml.py \
--placemark placemarks.geojson \
--outfile flightplan.wpml
```
2 changes: 2 additions & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@ nav:
- Code of Conduct: https://docs.hotosm.org/code-of-conduct
- FAQ: about/faq.md
- The Team: about/team.md
- User Manuals:
- Flightplans: manuals/generating-flightplans.md
- Developer Guide:
- Setup: dev/setup.md
- Timeline: timeline.md

0 comments on commit bcf162b

Please sign in to comment.