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

Adding rasterio's colourmap functionality #706

Open
cnavacch-spire opened this issue Oct 30, 2023 · 1 comment
Open

Adding rasterio's colourmap functionality #706

cnavacch-spire opened this issue Oct 30, 2023 · 1 comment
Labels
proposal Idea for a new feature.

Comments

@cnavacch-spire
Copy link

When writing GeoTIFF files from an xarray.DataArray, the possibility to write colourmaps is currently not provided (if I have not overseen sth.):

https://rasterio.readthedocs.io/en/stable/topics/color.html#writing-colormaps

Adding an additional keyword to the profile_kwargs of the to_raster() method and calling the write_colormap() function from within the rasterio.open(...) context should do the job.

Many thanks for the great work so far!

@cnavacch-spire cnavacch-spire added the proposal Idea for a new feature. label Oct 30, 2023
@snowman2
Copy link
Member

Related: #414

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
proposal Idea for a new feature.
Projects
None yet
Development

No branches or pull requests

2 participants