Skip to content

Commit

Permalink
hotfix: elevation difference in placemarks geojson script
Browse files Browse the repository at this point in the history
  • Loading branch information
nrjadkry committed Aug 29, 2024
1 parent fb33576 commit 3ee92e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drone_flightplan/create_placemarks.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def create_placemarks(
try:
elevation = coords[2]
difference_in_elevation = base_elevation - elevation
altitude = agl + difference_in_elevation
altitude = agl - difference_in_elevation
coords[2] = altitude
except IndexError:
altitude = agl
Expand Down

0 comments on commit 3ee92e4

Please sign in to comment.