summaryrefslogtreecommitdiffstats
path: root/photomap
diff options
context:
space:
mode:
authorPhilip Sargent <philip.sargent@gmail.com>2023-10-20 18:06:19 +0300
committerPhilip Sargent <philip.sargent@gmail.com>2023-10-20 18:06:19 +0300
commitdfd8f4a45314938029dc23f5e6c053a8561e0f69 (patch)
treed924e62ea8317ffa64c37d6406a1580a265d7820 /photomap
parent8c7d4f8ebb580f4eaf0bfb84822aaee2a4a60ee3 (diff)
downloadtroggle-dfd8f4a45314938029dc23f5e6c053a8561e0f69.tar.gz
troggle-dfd8f4a45314938029dc23f5e6c053a8561e0f69.tar.bz2
troggle-dfd8f4a45314938029dc23f5e6c053a8561e0f69.zip
instrucitons
Diffstat (limited to 'photomap')
-rw-r--r--photomap/pmap.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/photomap/pmap.py b/photomap/pmap.py
index e5d538a..055b735 100644
--- a/photomap/pmap.py
+++ b/photomap/pmap.py
@@ -113,6 +113,7 @@ with open(save_gpx, "w") as f:
f.write(header)
for p in photoset:
photo_path, latitude, longitude = p
+ # add ele=
f.write(f'<wpt lat="{latitude:.6f}" lon="{longitude:.6f}"> <name>[{photo_path.stem}]</name><type>photo</type><desc>{str(photo_path).replace(str(photo_folder),"")}</desc></wpt>\n')
f.write(f'</gpx>\n')