https://github.com/wys35/PythonPhotomapSyncWithClusteredGPS
Module does the following
1. Extract GPS data from photos in img/<tripname> directory, if no gps data found for any photo, use previous photo’s value, sorted by name (in effect date time)
2. Use scikit-learn to cluster points, algorithm used is DBSCAN, epislon is 10 km/6371.0088km per radian, minimum cluster size 1, gps data is converted to radian before computation.
3. Use opencagedata.com API to convert clustered points (marker point, first photo in cluster is used, no centroid computation) to location names.
4. Use template.html to generate <tripname>.html with the necessary javascript, HTML.
References
GPS data extraction http://geospatialtraining.com/extracting-geographic-coordinates-from-photos-using-python/
Scikit-learn DBSCAN https://geoffboeing.com/2014/08/clustering-to-reduce-spatial-data-set-size/
JQuery scroll into view animaiton https://erraticdev.blogspot.com/2011/02/jquery-scroll-into-view-plugin-with.html