-
Notifications
You must be signed in to change notification settings - Fork 17
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
geotiff viewer works if data has (10,-10) resolution but not if (10,10) #280
Comments
In the meanwhile I applied a workaround, to make sure that the y dimension has decreasing values and therefore negative resolution: Open-EO/openeo_odc_driver@d865cfb |
Thanks Michele. Can you send me an example file for testing purposes? I assume this is an upstream issue in OL or geotiff.js and I'll need to provide an example if I open an issue with them. |
Sure! Not working: |
@clausmichele I've just tested this in pure OpenLayers and it also doesn't work there so this is an upstream issue. |
In this case the positive resolution for |
Okay, I've submitted a bug report: openlayers/openlayers#14238 |
Looks like a bug in geotiff.js: geotiffjs/geotiff.js#337 |
I guess this is a bug.
When using the Eurac back-end, the result of this graph is showed correctly:
this instead, where the result comes from a different collection, shows just a black box. The difference between the two geotiffs is the resolution, which on the not working one is (10,10) instead of (10,-10).
Fixing the collection resolution solves the issue, but I wonder if it shouldn't cause a problem in the viewer.
The text was updated successfully, but these errors were encountered: