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

fixes error when reading GPSLatitudeRef and GPSLongitudeRef #133

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

atobiese
Copy link

This fixes a parsing error when loading exif data. The fix retains the GPSLatitudeRef and GPSLongitudeRef data. This is needed for decimal degree calculation. It is curretly lost.
Before:
image
After:

image
image

@Saijin-Naib
Copy link

Does this still work for current code?

@atobiese
Copy link
Author

It is a bug, yes. The references are lost.

Regarding odm: I see that a fix has been implemented in ODM (photo.py) where the references are assumed if they are missing. A warning is then given. So references are assumed when images are resized.

@HerrMuellerluedenscheid
Copy link

@atobiese that looks like a reasonable fix. Can you open a MR at https://github.com/JEFuller/Piexif? @JEFuller kindly took the lead to revitalize support for Piexif (which is not supported here anymore apparently) and is already maintainer of the pypi package 👍

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

Successfully merging this pull request may close these issues.

3 participants