Skip to content

Clarify colormap_name requirements and usage - #25

Open
emmanuelmathot wants to merge 5 commits into
mainfrom
fix/issue-14-colormap-interop
Open

emmanuelmathot wants to merge 5 commits into
mainfrom
fix/issue-14-colormap-interop

Conversation

@emmanuelmathot

@emmanuelmathot emmanuelmathot commented Sep 21, 2026 •

Copy link
Copy Markdown
Member

Update the CHANGELOG and README to specify that colormap_name must be a standard matplotlib colormap name, ensuring a consistent naming convention for raster bands. Include additional details on how to use colormaps with titiler.

fixes #14

This is a breaking change and will require a version bump

Comment thread README.md Outdated
@vincentsarago

Copy link
Copy Markdown
Collaborator

must be a standard matplotlib colormap name,

We also have custom colormap names in titiler

I'm starting to feel that it will be difficult to generalize renders for many backends/clients 🤷

@m-mohr

m-mohr commented Sep 22, 2026 •

Copy link
Copy Markdown
Contributor

Such an extension will be a compromise if we don't want this to be the "titiler" extension (which should then be the name), and never be supporting everything that a specific implementation might support. User could use colormap instead of pre-defined names for those additional cases. Coming up with a more interoperable compromise render extension is generally a good way forward IMHO. That could make it work for the "80%" of the cases for everyone instead of 100% only for titiler.

Co-authored-by: Matthias Mohr <m.mohr@moregeo.it>
Comment thread README.md Outdated
emmanuelmathot and others added 2 commits October 6, 2026 14:17
@emmanuelmathot
emmanuelmathot requested a review from m-mohr October 6, 2026 20:18
@m-mohr

m-mohr commented Oct 6, 2026

Copy link
Copy Markdown
Contributor

Generally looks good to me. Should we extract the allowed names to an enum in the schema?

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

colormap_name is an interoperability issue

3 participants