-
Notifications
You must be signed in to change notification settings - Fork 5
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
Additional colormaps do not appear in colorMaps/* response #458
Comments
@vincentsarago do you think we need to make a change in veda-backend to return additional custom colormaps in the colorMaps response? And/or should we open a titiler issue? |
The Colormaps factory that we're using only includes the default colormaps. We need to somehow append the custom colormaps as well. It looks like the other factories just reference the custom colormap dependency so maybe we can do the same with
|
Deployed changes to dev and confirmed that the colormap endpoint now returns the additional colormaps
|
@botanical do you think there is a similar fix for the |
### Issue #458 (comment) ### What?/ Why? - `colorMaps` endpoint was returning the new colormaps but `colorMaps/colorMapId` wasn't. ### Testing? https://jtran.delta-backend.com/api/raster/docs#/ColorMaps/getColorMap <img width="1682" alt="Screenshot 2025-03-10 at 2 59 35 PM" src="https://github.com/user-attachments/assets/54f9faeb-5322-4431-9070-e436c56dc41b" />
What
Titiler supports additional custom colormaps but the custom colormaps are not returned in the
colorMaps
endpoint to list available colormaps or thecolorMaps/{colormapName}
metadata endpoint.For example, the
nlcd
colormap can be used to render tileshttps://openveda.cloud/api/raster/collections/nlcd-annual-conus/items/nlcd_2001_cog_v2/preview.png?bidx=1&assets=landcover&nodata=0&resampling=nearest&colormap_name=nlcd
But
nlcd
is not in the response for https://openveda.cloud/api/raster/colorMapsAC
The text was updated successfully, but these errors were encountered: