-
Notifications
You must be signed in to change notification settings - Fork 174
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
add colormap endpoints #796
Conversation
TODO
|
This new endpoint looks very useful. I would suggest to have a query param for Also, it might be useful if it can return color as |
@JinIgarashi thank for your feedback 🙏
in fact it returns 256 values, because all rio-tiler colormaps are composed of values between 0 and 255 (because that's how GDAL colormap are) We could add a |
Well the more I think about this, the more I think we should only return value as RGBA tuple, not event as HEX string. It seems quite trivial do transform the RGBA values to hex or hsl in client application instead of adding more complexity in the titiler endpoint |
same as #796 (comment), this would be pretty trivial to do in the client application directly instead of adding complexity in titiler endpoint IMO |
a06b3a8
to
397a6e4
Compare
Q: we have the
|
ref #509