mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2025-12-18 21:37:11 +00:00
GPS of photo now has href to OSM online
This commit is contained in:
@@ -212,7 +212,8 @@ def extract_gps(dict):
|
|||||||
else:
|
else:
|
||||||
print("failed to find latitude")
|
print("failed to find latitude")
|
||||||
|
|
||||||
location = f"{latitude:08.5f} {latref}, {longitude:09.5f} {lonref}"
|
location = f'<a href="https://www.openstreetmap.org/?mlat={latitude}&mlon={longitude}">{latitude:09.6f} {latref}, {longitude:010.6f} {lonref}</a>'
|
||||||
|
# 3 digits for longitude, 2 for latitude.
|
||||||
print(direction)
|
print(direction)
|
||||||
print(altitude)
|
print(altitude)
|
||||||
print(timestamp_utc)
|
print(timestamp_utc)
|
||||||
|
|||||||
Reference in New Issue
Block a user