2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2026-02-08 11:28:23 +00:00

instrucitons

This commit is contained in:
2023-10-20 18:06:19 +03:00
parent 8c7d4f8ebb
commit dfd8f4a453
2 changed files with 3 additions and 1 deletions

View File

@@ -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')