We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
it seems that the alpha channel is missing when loading a tiff file with gv.load_tiff
gv.load_tiff
!wget https://cerweb.ifremer.fr/oarcher/tmp/test_alpha.tiff import geoviews as gv gv.extension('bokeh') gv.tile_sources.Wikipedia * gv.load_tiff('test_alpha.tiff')
That's because in
geoviews/geoviews/util.py
Line 731 in 8d7669f
el.vdims is [Dimension('R'), Dimension('G'), Dimension('B')] (A dimension is missing)
el.vdims
[Dimension('R'), Dimension('G'), Dimension('B')]
A
A partial workaround is to replace with
vdims = list('RGBA')[:bands]
But perhaps that gv.RGB.vdims should also return Dimension('A') ?
gv.RGB.vdims
Dimension('A')
geoviews 1.9.5.post4+g8d7669f.dirty installed from master branch.
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
it seems that the alpha channel is missing when loading a tiff file with
gv.load_tiff
That's because in
geoviews/geoviews/util.py
Line 731 in 8d7669f
el.vdims
is[Dimension('R'), Dimension('G'), Dimension('B')]
(A
dimension is missing)A partial workaround is to replace with
But perhaps that
gv.RGB.vdims
should also returnDimension('A')
?geoviews 1.9.5.post4+g8d7669f.dirty installed from master branch.
The text was updated successfully, but these errors were encountered: