Custom linear colormaps #739
-
Is there a way to provide a custom linear colormap with TiTiler. I saw this example in the docs, which allows users to pass a linear definition. https://developmentseed.org/titiler/examples/code/tiler_with_custom_colormap/ But I was wondering if there was a way that I could do something like this out of the box with TiTiler. I did not see any example in the docs of how something like this could be done. For example, let's say I had data that looked like this: "values": [ And I wanted something like the example below where the values correspond to the relative positions of each color in a linear scale:
Would I need to add my own custom dependency to achieve something like this? Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
yeah you would need to create a custom colormap dependency https://developmentseed.org/titiler/advanced/customization/#custom-colormap |
Beta Was this translation helpful? Give feedback.
yeah you would need to create a custom colormap dependency https://developmentseed.org/titiler/advanced/customization/#custom-colormap