Skip to content

Visgean/photos2geojson

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Photos ➡ Geojson (Map)

Searches recursively for photos and generates geojson map

Install:

$ pip3 install photos2geojson --user

Usage:

$ photos2geojson ~/Dropbox/

This will create file map.html that you can view in Browser (Firefox preferably as chrome might not display image orientation correctly).

Alternatively you might wish to create a Github Gist which will render the geojson:

$ photos2geojson ~/Dropbox/ -g

If you only want the geojson you can do it like this:

$ photos2geojson ~/Dropbox/ -o data.geojson

Screenshot of leaflet:

screenshot