stac-layer icon indicating copy to clipboard operation
stac-layer copied to clipboard

Pass or read min/max/nodata values

Open m-mohr opened this issue 4 years ago • 2 comments

Right now it doesn't seem possible to either pass min/max and nodata values directly or read them via the raster extension. This should be made possible to give a more sensible default visualization.

m-mohr avatar Sep 06 '21 13:09 m-mohr

@m-mohr . Definitely. Do you happen to have an example of a STAC item with this information?

DanielJDufour avatar Sep 06 '21 17:09 DanielJDufour

Yes, I've updated https://github.com/stac-utils/stac-layer/issues/7#issue-989213392 to have this metadata, but I'm not 100% sure it is actually accurate, because it's generated externally. So take this just as a "how it could look like". But in addition to having it in a STAC item, it would be nice to also be able to override it via config.

And just to make sure: This is future work, which we might contract out.

m-mohr avatar Sep 06 '21 17:09 m-mohr

#54 will have functionality to easily get min/max values from a STAC so that we can use it here.

m-mohr avatar Feb 23 '23 12:02 m-mohr

First attempt for no-data values: 9a1f8627

m-mohr avatar Mar 05 '23 15:03 m-mohr