Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support setting location within image description for usage with show_map #334

Open
mika opened this issue Aug 15, 2018 · 1 comment
Open

Comments

@mika
Copy link

mika commented Aug 15, 2018

I'm using the following configuration in sigal.conf.py:

show_map = True
leaflet_provider = 'OpenStreetMap.Mapnik'

I've got a collection of pictures where only some of them include GPS information inside their EXIF data/tags. Now I can use something like:

Location: 46.994046,15.440132

or:

Location: Graz Airport

inside the description of an image (since I know where this image was taken), though it's only displayed in the info section of the sigal gallery and AFAICT not considered for displaying on the map view (via key m).

Would be great if there'd be a way how to add location/GPS information to pictures which don't have the according information inside their EXIF data and use that for the show_map feature then.

Thanks for sigal, it's great! 👍

@saimn
Copy link
Owner

saimn commented Aug 16, 2018

Setting the coordinates in the image metadata is a good idea! Support names instead of coordinates could be done with some additional dependency (geopy ?), I guess this should be optional.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants