Skip to content

Fixed normalization of zero degrees coordinates #42

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

Merged
merged 6 commits into from
Jul 28, 2015
Merged

Fixed normalization of zero degrees coordinates #42

merged 6 commits into from
Jul 28, 2015

Conversation

bonzai
Copy link
Contributor

@bonzai bonzai commented Jul 27, 2015

The native mapper will throw up an error – "Division by zero" – if one or both of the coordinates (Latitude/Longitude) are set to 0 (which is valid).

Also added checks for "GPSLatitudeRef" and "GPSLongitudeRef" tags.

@Miljar
Copy link
Collaborator

Miljar commented Jul 28, 2015

Somehow missed this PR. 👍 for adding unit tests. Can you add extra tests to maintain coverage level please? Thank you for your update!

@bonzai
Copy link
Contributor Author

bonzai commented Jul 28, 2015

Done.

Miljar added a commit that referenced this pull request Jul 28, 2015
Fixed normalization of zero degrees coordinates
@Miljar Miljar merged commit d10ee92 into PHPExif:master Jul 28, 2015
@Miljar
Copy link
Collaborator

Miljar commented Jul 28, 2015

Great! Thank you!

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.

2 participants