Skip to content

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