Code Monkey home page Code Monkey logo

Comments (10)

giswqs avatar giswqs commented on May 17, 2024 1

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.

from leafmap.

davidbrochart avatar davidbrochart commented on May 17, 2024 1

Sorry, I still haven't got the time to work on xarray-leaflet 😄

from leafmap.

mamoev avatar mamoev commented on May 17, 2024

Thanks for the quick responses.

I will test this on Linux.

from leafmap.

mamoev avatar mamoev commented on May 17, 2024

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.

from leafmap.

giswqs avatar giswqs commented on May 17, 2024

@mamoev The binder env was created using this environment.yml. Can you try creating a fresh env using the same yml?

conda env create -f environment.yml

from leafmap.

mamoev avatar mamoev commented on May 17, 2024

Thanks for the help ! It works great.

from leafmap.

robinjacobroy avatar robinjacobroy commented on May 17, 2024

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.
Same is the case in my local system. Please help..

from leafmap.

giswqs avatar giswqs commented on May 17, 2024

Xarray-leaflet does not support Colab. Try binder https://gishub.org/leafmap-pangeo
Tutorial 5

from leafmap.

radekszostak avatar radekszostak commented on May 17, 2024

Currently binder examples 05_load_raster.ipynb and 32_local_tile.ipynb doesn't work. I'm getting error:
ImportError: localtileserver is not installed. Please install it before proceeding. https://github.com/banesullivan/localtileserver

I've noticed, that tests related to these functionalities are commented out in tests/test_leafmap.py

from leafmap.

darlainedeme avatar darlainedeme commented on May 17, 2024

Currently binder examples 05_load_raster.ipynb and 32_local_tile.ipynb doesn't work. I'm getting error: ImportError: localtileserver is not installed. Please install it before proceeding. https://github.com/banesullivan/localtileserver

I've noticed, that tests related to these functionalities are commented out in tests/test_leafmap.py

just
!pip install localtileserver

from leafmap.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.