geotiffjs / geotiff.js

geotiff.js is a small library to parse TIFF files for visualization or analysis. It is written in pure JavaScript, and is usable in both the browser and node.js applications.
https://geotiffjs.github.io/
MIT License
845 stars 175 forks source link

Calculate resolution correctly for rotated rasters #413

Closed mike-000 closed 5 months ago

mike-000 commented 7 months ago

Replaces #403 where the Y axis resolution should have been negated

ahocevar commented 6 months ago

@constantinius Could you please take a look at this? Having this and #414 merged and published would help in adding support for skewed or rotated GeoTIFFs in OpenLayers (openlayers/openlayers#15402).

ahocevar commented 6 months ago

@constantinius Now that #414 is merged, would you please also consider this pull request? Then we could proceed fixing openlayers/openlayers#15402. Thanks in advance!

constantinius commented 5 months ago

@ahocevar done. Unfortunately the CI pipeline seems broken, not sure what is the issue.

ahocevar commented 5 months ago

@constantinius It's not a CI issue, it's a syntax error in the code. Sorry for having recommended to merge this pull request without recognising that. I created a fix in #418.

constantinius commented 5 months ago

@ahocevar This is now published in 2.1.3

ahocevar commented 5 months ago

Thanks, @constantinius