-
Notifications
You must be signed in to change notification settings - Fork 183
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
Rational arrays not read correctly #437
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
geotiff.js/src/geotiff.js
Line 161 in a2013a3
When reading arrays of rational numbers (for example, when reading a GPSLatitude or GPSLongitude field) the reader does not index the output Uint32Array correctly, resulting in it skipping values on output.
A GPSLatitude array containing
[71, 1, 25, 1, 47289959, 1000000]
is currently being read as[71, 1, 47289959, 1000000, 0, 0]
The reading loop:
Should instead be:
The text was updated successfully, but these errors were encountered: