Skip to content

Commit

Permalink
docs: indent code so list counting works
Browse files Browse the repository at this point in the history
  • Loading branch information
spwoodcock committed Oct 30, 2024
1 parent e9be12e commit d36ebcc
Showing 1 changed file with 33 additions and 33 deletions.
66 changes: 33 additions & 33 deletions docs/manuals/generate-flightplans.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,50 +4,50 @@

1. Calculate Flight Parameters:

```python
python calculate_parameters.py \
--forward_overlap 70 \
--side_overlap 70 \
--altitude_above_ground_level 115 \
--image_interval 2
```
```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.
> 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
```
```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
```
```python
python add_elevation_from_dem.py dsm.tif waypoints.geojson waypoints_with_elevation.geojson
```

> Here we need a DEM in .tiff format.
> 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
```
```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
```
```python
python wpml.py \
--placemark placemarks.geojson \
--outfile flightplan.wpml
```

0 comments on commit d36ebcc

Please sign in to comment.