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

xarray-leaflet not working properly on Windows #30

Closed
giswqs opened this issue Dec 8, 2020 · 9 comments · May be fixed by #51
Closed

xarray-leaflet not working properly on Windows #30

giswqs opened this issue Dec 8, 2020 · 9 comments · May be fixed by #51

Comments

@giswqs
Copy link

giswqs commented Dec 8, 2020

It seems xarray-leaflet is not working properly on Windows. The map tiles could not load. When checking the map tiles under the Temp folders, most tiles are empty. A relevant issue was reported by another geemap user.

OS: Windows 10
Python: v3.8
xarray-leaflet: v0.1.13
Notebook: xarray_leaflet/examples/introduction.ipynb

@davidbrochart
Copy link
Collaborator

Thanks for reporting @giswqs, I guess the time has come to have tests in xarray-leaflet! I will try to work on this soon.

@Xabitsuki
Copy link

Hi !
Unfortunately the examples do not work on mac either ... I added layer controls to see if the layer is there and removed the dark basemap, but nothing worked.

I also tried displaying a band in an other projet by calling xarray.dataarray.plot(m=m) with no success: it's as if the generated layer were transparent or behind the basemap.

Screenshot 2021-10-01 at 17 00 28

@robintw
Copy link

robintw commented Oct 20, 2021

I'm trying to use this on Windows too, and finding that it doesn't work.

I'm a fairly experienced Python and geospatial developer, and happy to do some work to try and make this work on Windows. Do you have any idea what the problem is @davidbrochart? Or any pointers as to where to look?

@davidbrochart
Copy link
Collaborator

That would be great @robintw!
I think it would be nice to have some tests in the CI. I can imagine using Galata to open a headless browser and execute a notebook, checking that tiles are written in the backend and displayed in the frontend...

@davidbrochart
Copy link
Collaborator

For an example of UI testing using Galata, see jupyter-widgets/ipyleaflet#905.

@davidbrochart
Copy link
Collaborator

xarray-leaflet got its first test in #49 !

@haseeb33
Copy link

@giswqs I have been using your library geemap. Everything is working fine but this part is not working even on linux for me. It doesn't load the tiff files.
Let's wait for the positive news for both of us(developer like me and contributor like you so your library can work completing because xarray-leaflet is in dependencies of geemap)
My environment:
Python= v3.8
NAME="Ubuntu"
VERSION="20.04.3 LTS (Focal Fossa)"
xarray-leaflet: v0.10.1 also tried (0.10.2) and older versions (0.1.1) (0.3.1)

older versions show some errors so didn't proceed with those.

@vdevauxchupin
Copy link

Hi, I just wanted to see if others still had issues with the layers not loading ? That's the case for me on Windows.

@lalligagger
Copy link

Still having issues for me on Mac OS 13.4

@giswqs giswqs closed this as completed Jun 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants