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

Disable client-side render

Open randyberos opened this issue 1 year ago • 9 comments

Is there a way to disable the client-side render even as fallback? I would like to only use the server-side render for my tile layer.

randyberos avatar Aug 23 '23 09:08 randyberos

The second line in the table should make it work: https://github.com/radiantearth/stac-browser/blob/main/docs/options.md#usetilelayerasfallback

m-mohr avatar Aug 23 '23 09:08 m-mohr

Setting the useTileLayerAsFallback as False in the STAC Browser still uses the client-side renderer as fallback imagery renderer when the tile-server renderer fails.

randyberos avatar Aug 23 '23 10:08 randyberos

I wasn't aware of this, then it's a bug and not possible right now, sorry.

m-mohr avatar Aug 23 '23 10:08 m-mohr

Thank you for your response. Hope this gets fixed soon. 😀

randyberos avatar Aug 23 '23 10:08 randyberos

We are happy to accept PRs, but otherwise there's currently no funding to fix this right now. So don't expect a fix anytime soon, sorry.

m-mohr avatar Aug 23 '23 10:08 m-mohr

But as a side note, STAC Browser will likely migrate to OL STAC in v3.2.0. So it would be worthwile to test whether it works there.

m-mohr avatar Aug 23 '23 10:08 m-mohr

This is good to know. I will check this out. Thank you very much for the help. 🙂

randyberos avatar Aug 23 '23 10:08 randyberos

Just to make sure, did you use the 0.15.0 version or the main branch?

m-mohr avatar Aug 30 '23 22:08 m-mohr

I observed this in the STAC Browser v3.0.2 which is using the v0.15.0 of the stac-layer.

randyberos avatar Aug 31 '23 01:08 randyberos