Custom Color Map #588
Unanswered
sammertime
asked this question in
Q&A
Replies: 1 comment 13 replies
-
sounds like #525 I think the issue is that you are using FYI: I'm moving this issue to discussion because without proper reproductible example I cannot understand if it's a |
Beta Was this translation helpful? Give feedback.
13 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi there,
First off - I love this package/project..Thank you! : )
I've reviewed the custom color map issues raised prior (i.e. below) and have successfully implemented the interval colormap into my tiles using titiler, as described here:
#496
I've applied transparency to some of my intervals i.e. say for the following two intervals, the 295-296 range should be transparent:
[[294,295],[255,234,0,255]],[[295,296],[0,0,0,0]]
This is technically working, but transparency is returning as a black color in the tiles. My goal is to have intervals with the color [0,0,0,0] in my custom colormap return as completely transparent from titiler.
The query parameters I'm using with the tile endpoint are the following:
bidx=1&unscale=false&resampling=nearest&return_mask=true&colormap=[[[...]]]
My question is, is this something that can be achieved with titiler and, if so, can it be done by tweaking my query parameters? Or, is this a more involved fix in the underlying COG creation process?
Thanks so much..
S
Beta Was this translation helpful? Give feedback.
All reactions