From 8c7d4f8ebb580f4eaf0bfb84822aaee2a4a60ee3 Mon Sep 17 00:00:00 2001 From: Philip Sargent Date: Fri, 20 Oct 2023 14:01:54 +0300 Subject: [PATCH] photo map more --- photomap/photo_map.html | 9291 +++++++++++----------------------- photomap/photo_map_jpeg.html | 8817 -------------------------------- photomap/photos.gpx | 26 - photomap/photos_jpg.gpx | 4 + photomap/pmap.py | 4 +- 5 files changed, 3099 insertions(+), 15043 deletions(-) delete mode 100644 photomap/photo_map_jpeg.html delete mode 100644 photomap/photos.gpx diff --git a/photomap/photo_map.html b/photomap/photo_map.html index d8a2d57..48d593a 100644 --- a/photomap/photo_map.html +++ b/photomap/photo_map.html @@ -25,7 +25,7 @@ - - - - - - - - - - - - - - - - - - - -
- - - - \ No newline at end of file diff --git a/photomap/photos.gpx b/photomap/photos.gpx deleted file mode 100644 index cba2ce1..0000000 --- a/photomap/photos.gpx +++ /dev/null @@ -1,26 +0,0 @@ - - - pmap photo GPS - Troggle photos archive - [Bird]photo/mnt/d/EXPO/PHOTOS/2022/JonoL/Bird.jpeg - [Dachstein-Alice-Harry-Oak]photo/mnt/d/EXPO/PHOTOS/2022/JonoL/Dachstein-Alice-Harry-Oak.jpeg - [Dachstein-Harry-Oak-Jono]photo/mnt/d/EXPO/PHOTOS/2022/JonoL/Dachstein-Harry-Oak-Jono.jpeg - [Dashdine-Glacier]photo/mnt/d/EXPO/PHOTOS/2022/JonoL/Dashdine-Glacier.jpeg - [Dashstein-Jono]photo/mnt/d/EXPO/PHOTOS/2022/JonoL/Dashstein-Jono.jpeg - [Hannah-With-Lollypop]photo/mnt/d/EXPO/PHOTOS/2022/JonoL/Hannah-With-Lollypop.jpeg - [HarrK-Climbing]photo/mnt/d/EXPO/PHOTOS/2022/JonoL/HarrK-Climbing.jpeg - [HarryK-AliceK-PotatoeHut]photo/mnt/d/EXPO/PHOTOS/2022/JonoL/HarryK-AliceK-PotatoeHut.jpeg - [HarryK-With-Bird]photo/mnt/d/EXPO/PHOTOS/2022/JonoL/HarryK-With-Bird.jpeg - [Jono-Hannah-Charlotte-Selfie-Walkup-To-Top-Camp]photo/mnt/d/EXPO/PHOTOS/2022/JonoL/Jono-Hannah-Charlotte-Selfie-Walkup-To-Top-Camp.jpeg - [Misty-Walk-To-Top-Camp]photo/mnt/d/EXPO/PHOTOS/2022/JonoL/Misty-Walk-To-Top-Camp.jpeg - [Nerding-At-Top-Camp]photo/mnt/d/EXPO/PHOTOS/2022/JonoL/Nerding-At-Top-Camp.jpeg - [Sleepingbag-View-Topcamp]photo/mnt/d/EXPO/PHOTOS/2022/JonoL/Sleepingbag-View-Topcamp.jpeg - [TopCamp-4AM]photo/mnt/d/EXPO/PHOTOS/2022/JonoL/TopCamp-4AM.jpeg - [TopCamp-Morning]photo/mnt/d/EXPO/PHOTOS/2022/JonoL/TopCamp-Morning.jpeg - [Topcamp-Sunset]photo/mnt/d/EXPO/PHOTOS/2022/JonoL/Topcamp-Sunset.jpeg - [TopCampWalk-Harry-Charlotte]photo/mnt/d/EXPO/PHOTOS/2022/JonoL/TopCampWalk-Harry-Charlotte.jpeg - [WalkingToTopCamp-Hannah-Charlotte]photo/mnt/d/EXPO/PHOTOS/2022/JonoL/WalkingToTopCamp-Hannah-Charlotte.jpeg - diff --git a/photomap/photos_jpg.gpx b/photomap/photos_jpg.gpx index 1a8cf13..8550a94 100644 --- a/photomap/photos_jpg.gpx +++ b/photomap/photos_jpg.gpx @@ -311,6 +311,10 @@ xsi:schemaLocation="http://www.topografix.com/GPX/1/0 http://www.topografix.com/ [PXL_20220816_195357284.NIGHT]photo/2022/EmilyMabbett/PXL_20220816_195357284.NIGHT.jpg [Sunset; n the hill]photo/2022/EmilyMabbett/Sunset; n the hill.jpg [Swimming in the rain]photo/2022/EmilyMabbett/Swimming in the rain.jpg + [2012-ns-13_2022_entrance]photo/2022/KBrook/2012-ns-13_2022_entrance.jpg + [2012-ns-13_2022_tag]photo/2022/KBrook/2012-ns-13_2022_tag.jpg + [2012-ns-14_2022_tag]photo/2022/KBrook/2012-ns-14_2022_tag.jpg + [2012-ns-14_entrance]photo/2022/KBrook/2012-ns-14_entrance.jpg [Bird]photo/2022/JonoL/Bird.jpeg [Dachstein-Alice-Harry-Oak]photo/2022/JonoL/Dachstein-Alice-Harry-Oak.jpeg [Dachstein-Harry-Oak-Jono]photo/2022/JonoL/Dachstein-Harry-Oak-Jono.jpeg diff --git a/photomap/pmap.py b/photomap/pmap.py index 1fae89d..e5d538a 100644 --- a/photomap/pmap.py +++ b/photomap/pmap.py @@ -97,8 +97,8 @@ for photo_path in photos: ).add_to(map) photoset.append((photo_path, latitude, longitude)) -# Save the map as an HTML file -map.save("photo_map_jpeg.html") +# Save the folium map as an HTML file +map.save("photo_map.html") print(f"Found {len(photoset)} GPS located photos in '{photo_folder}' and subdirectories.") header = """