Replies: 1 comment 7 replies
-
|
https://developmentseed.org/titiler/advanced/customization/#custom-colormap |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have cloned github repo. And am able to serve my cog tif with it by launching it as:
titiler: uvicorn titiler.application.main:app --reload --port 8001Now I want to add a custom color map to be served.. In '\src\titiler\core\titiler\core\dependencies.py', I added thsi:
But 'fcd' is not listed in output of endpoint /colorMaps. I can see default colormaps like rdylgn etc in the result list.
What do I exactly need to do to add a custom colormap so that I can then use it on browser side with data url as:
data: '/cog/tiles/WebMercatorQuad/{z}/{x}/{y}.png?url=http://localhost/cog/sgnp_fcd_3857_cog.tif&rescale=0,100&colormap_name=fcd'Beta Was this translation helpful? Give feedback.
All reactions