You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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]
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: