You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello GeoViews team! Thanks for taking the time to continuously maintain and improve this library. I'm having some difficulty trying to display TIFF files with the recent release (1.10.0), and I was hoping you could help me out.
Description of expected behavior and the observed behavior
I was able to display GeoTIFFs with geoviews.util.load_tiff() before it got deprecated.
With the new release of GeoViews, I tried using the suggested geoviews.util.from_xarray(rioxarray.open_rasterio(filename)) but I was not able to get the same Image element as before. I got a Dataset element instead, so I cannot apply any image options to it (see stack traceback below).
Complete, minimal, self-contained example code that reproduces the issue
Hello GeoViews team! Thanks for taking the time to continuously maintain and improve this library. I'm having some difficulty trying to display TIFF files with the recent release (1.10.0), and I was hoping you could help me out.
ALL software version info
Geoviews 1.10.0 (Build pyhd8ed1ab_0, Channel conda-forge)
Bokeh 3.1.1 (Build pyhd8ed1ab_0, Channel conda-forge)
Rioxarray 0.14.1 (Build pyhd8ed1ab_0, Channel conda-forge)
Python 3.10.11 (Build h4de0772_0_cpython, Channel conda-forge)
JupyterLab 4.0.0 (Build pyhd8ed1ab_1, Channel conda-forge)
OS: Windows 11 Home (Version 22H2, Build 22621.1702)
Browser: Google Chrome (Version 113.0.5672.127, Official Build, 64-bit)
Description of expected behavior and the observed behavior
I was able to display GeoTIFFs with
geoviews.util.load_tiff()
before it got deprecated.With the new release of GeoViews, I tried using the suggested
geoviews.util.from_xarray(rioxarray.open_rasterio(filename))
but I was not able to get the same Image element as before. I got a Dataset element instead, so I cannot apply any image options to it (see stack traceback below).Complete, minimal, self-contained example code that reproduces the issue
Stack traceback and/or browser JavaScript console output
Screenshots or screencasts of the bug in action
I ran the example code in a Jupyter notebook and nothing except for the error gets outputted.
The text was updated successfully, but these errors were encountered: