summaryrefslogtreecommitdiffstats
path: root/photomap
diff options
context:
space:
mode:
authorPhilip Sargent <philip.sargent@gmail.com>2023-10-19 18:37:27 +0300
committerPhilip Sargent <philip.sargent@gmail.com>2023-10-19 18:37:27 +0300
commit0874ca38f45ba3754a9ec391053cf8d238e3653b (patch)
treea893365a2c910e5d56ac395f35f3ae13f3f02aeb /photomap
parentc4da7f6fa7dcfe0a4090fd96b748f489cb643adc (diff)
downloadtroggle-0874ca38f45ba3754a9ec391053cf8d238e3653b.tar.gz
troggle-0874ca38f45ba3754a9ec391053cf8d238e3653b.tar.bz2
troggle-0874ca38f45ba3754a9ec391053cf8d238e3653b.zip
to do
Diffstat (limited to 'photomap')
-rw-r--r--photomap/pmap.py12
1 files changed, 9 insertions, 3 deletions
diff --git a/photomap/pmap.py b/photomap/pmap.py
index 5c311ba..8f6fc1a 100644
--- a/photomap/pmap.py
+++ b/photomap/pmap.py
@@ -1,12 +1,18 @@
-
import os
import folium
from pathlib import Path
from PIL import Image, ExifTags
-# Define function to extract latitude and longitude from photo
+"""To do
+- create gpx file for adding in to existing GPSprune maps
+- omit all the thumbs
+- include *.jpeg
+- can we also do other formats than JPG ?
+- we want popup that hotlinks to URL of the photo of course
+"""
+
def get_coordinates(photo_path):
- """Extracting EXIF data from jpg files requires an external package because teh EXIF standard
+ """Extracting EXIF data from jpg files requires an external package because the EXIF standard
is interpreted differently by the many different implementations of the JPG file format
"""
try: