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
Can't add a Geotiff raster layer to the map #19
Comments
Are you using Windows? Unfortunately, xarray_leaflet does not work properly on Windows. See https://github.com/davidbrochart/xarray_leaflet/issues/30 @davidbrochart Alternatively, you can use Linux-based Binder. |
Sorry, I still haven't got the time to work on xarray-leaflet 😄 |
Thanks for the quick responses. I will test this on Linux. |
I tested the Binder links you provided and, in a Linux environment, it works great. However, when running an example notebook (05_load_raster) locally, it doesn't work anymore. I have two loading icons in the bottom right corner that are displayed indefinitely and no layer are created. |
@mamoev The binder env was created using this environment.yml. Can you try creating a fresh env using the same yml?
|
Thanks for the help ! It works great. |
I tried to load a raster image in Google Colab but, no layer is getting added. Only the map gets zoomed to the location of the raster. |
Xarray-leaflet does not support Colab. Try binder https://gishub.org/leafmap-pangeo |
Currently binder examples 05_load_raster.ipynb and 32_local_tile.ipynb doesn't work. I'm getting error: I've noticed, that tests related to these functionalities are commented out in tests/test_leafmap.py |
just |
Environment Information
Description
After installing xarray-leaflet, I tried to add a Geotiff raster layer to the map.
Once the file is chosen, I press the apply button and the map zooms to the right coordinates, a layer is created but nothing is displayed.
I'm attaching the file I'm trying to display so you can try on your own.
file.zip
The text was updated successfully, but these errors were encountered: