Open-EO / openeo-web-editor

An interactive and easy to use web-based editor for the OpenEO API.
https://editor.openeo.org
Apache License 2.0
12 stars 17 forks source link

Viewer: COG not visualized, just no data #326

Open clausmichele opened 3 months ago

clausmichele commented 3 months ago

Hi Matthias,

I was trying to use the new functionality with our development back-end where we're working towards having the results in STAC. A sample result include urls to COGs like: https://eurac-eo.s3-eu-west-1.amazonaws.com/OPENEO_RESULT/red_20220625102800.tif

which unfortunately the web editor shows as empty. Is it something wrong with how with create the COGs? In QGIS and here for instance, it works correctly: https://mykolakozyr-cogviewer-app-jy9qgx.streamlit.app/

image

Edit: the linked viewer doesn't show it properly as well. The data is visible, but it's upside down and wrongly located: image

Edit2:

Another sample COG that I tried to add to the viewer manually but doesn't seem to work: https://eurac-eo.s3-eu-west-1.amazonaws.com/SOILGRIDS/bd_sl1_20200301000000.tif

m-mohr commented 2 months ago

Hmm, I had a quick look but couldn't find any obvious issues in the Web Editor specific code. The same behaviour appears in pure OpenLayers though so it's primarily an upstream issue in OpenLayers or geotiff.js. Suspicious is also that if you zoom out, the image gets larger...