-
Notifications
You must be signed in to change notification settings - Fork 143
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
Inversion of image outside of BBOX in STAC Browser #407
Comments
@m-mohr It might be related to this: geotiffjs/geotiff.js#337 |
Yes, might be. The first check should be whether the latest version of geotiff.js is used. I don't have th capacity to check this right now, but the fix must either be made in stac-layer or in geotiff.js anyway. Did you check whether this works correctly with ol-stac? |
I've a similar but slightly different issue you can have a screenshot below where the image is translated and scaled not only flipped: The images is locally served, I double checked that stac item is correctly set in it's geometry and BBOX and it is correctly shown in QGIS or titiler viewer I debugged vue stac-browser app and realised that StacLayer return a wrong BBOX in Map.vue that seems leading to the wrong transformation and scaling. here the stac Item befor importin in the stac catalog and here the image (linked because if big) that I serve locally note: checking with ol-stac if the issue is still present |
Yes, that's also what I'm seing.
Generally, the aim is to migrate to ol-stac soon, so it might not be worth the effort to invest into a fix in stac-layer right now. That means on the other hand that a fix may take a little longer. |
FYI this is the expected result (getting the raster served as COG and http loaded in qgis) So, seems that the image in stac-browser has the correct 0 reference but 90 right had rotated and scaled respect that shown into #407 (comment) |
just in case, testing with stac-layer@next instead of that packaged with 0.15.0 |
@luipir I think that's a dead end. stac-layer@next primarily improved on the STAC side of things, not of the COG rendering. The issues come likely from georaster, which has open issues... For the meantime you could enable tilserver rendering. |
Issue
I currently have an collection uploaded to STAC Browser FastAPI here. The collection and corresponding items have been validated and show to work correctly and even loads into an xArray object using odc-stac. However, on STAC Browser, the visualization of the image is inverted outside of the bounding box, see sample images below. What do you suggest might be the cause of this inversion?
What the Original Collection looks like:
A sample item
Possible cause
It seems this might be due to an inversion of the coords in the transformation matrix (especially in the Y axis)
A sample image
t2m_20010103000000.zip
The text was updated successfully, but these errors were encountered: