Skip to content
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

reconsider legend and thumbnail generation #18

Open
lubojr opened this issue Feb 21, 2024 · 3 comments
Open

reconsider legend and thumbnail generation #18

lubojr opened this issue Feb 21, 2024 · 3 comments
Assignees

Comments

@lubojr
Copy link
Member

lubojr commented Feb 21, 2024

Renaming a target file will make the legend and thumbnail being generated again.

We should rethink the implementation/idea.

EDIT:
new naming scheme should help to bring this back to sync:

legend: CDS4_legend.png

thumbnails: E13o_vessel_density_all.png

@santilland
Copy link
Collaborator

I would actually love to be able to create the colormap dynamically in the client by using a definition, maybe we could base it on your json file. It would be best to have the definition linked somehow per collection.

The problem of generating this in the asset repository is that the actual configuration lives in the catalog repository.
Maybe we could have a package that extracts the information from a catalog repo you point it to and we can generate it within the assets repository?

Let's check if we can modify the legend and the thumbnail generators

@lubojr
Copy link
Member Author

lubojr commented Feb 21, 2024

we can maybe use this proposal extension that titiler understands https://github.com/stac-extensions/render

@santilland
Copy link
Collaborator

that is a good point, would be two birds with one stone :) i like the idea!

@lubojr lubojr removed their assignment Sep 30, 2024
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

No branches or pull requests

2 participants