-
Notifications
You must be signed in to change notification settings - Fork 6
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
Load colormaps from TiTiler to ensure tiles and legend agree #885
Comments
TiTiler implemented a method to get the full color table (usually 255 stops), which should work fine for our purpose as well. Btw, other projects I learned about have been loading colormaps from D3, at least those identical with TiTiler's. |
The Might need a ticket in |
It can be a part of upgrading titiler-pgstac to the latest version |
|
Context and Problem StatementA TiTiler UI wants to offer to the user a curated list of colormaps to choose from, with visual previews or the colormaps. Decision Drivers
Considered Options
Decision OutcomeChosen option: "???", because ... Pros and Cons of the OptionsOption 1 - Hard-coded, pass name
Option 2 - Hard-coded, pass values
Option 3 - Load from D3, pass name
Option 4 - Load from TiTiler, pass name
|
Duplicate of #994 |
Currently, we have to configure both the TiTiler dynamic tiling parameters for a colormap and the stops for the legend component. In principle, the stops could be generated dynamically, ideally by TiTiler, since it receives the rendering specs and we need to make sure legend and tiles agree.
I added a comment to this existing TiTiler feature request:
Acceptance criteria
The text was updated successfully, but these errors were encountered: