developmentseed / lonboard

A Python library for fast, interactive geospatial vector data visualization in Jupyter.
https://developmentseed.org/lonboard/latest/
MIT License
636 stars 33 forks source link

maps are blank #245

Closed sabman closed 12 months ago

sabman commented 12 months ago

Thanks for the awesome project. I am just trying it out on my mac

➜ uname -a
Darwin terrier.fritz.box 23.0.0 Darwin Kernel Version 23.0.0: Fri Sep 15 14:41:34 PDT 2023; root:xnu-10002.1.13~1/RELEASE_ARM64_T8103 arm64
➜ pip show lonboard
Name: lonboard
Version: 0.4.1
Summary: Python library for fast, interactive geospatial vector data visualization in Jupyter.
Home-page:
Author: Kyle Barron
Author-email: kyle@developmentseed.org
License: MIT
Location: /Users/shoaib/.pyenv/versions/3.8.12/envs/venv3_8_12/lib/python3.8/site-packages
Requires: anywidget, geopandas, matplotlib, palettable, pandas, pyarrow, shapely
Required-by:

I don't have geoparquet installed I assume that's expected coz lonboard has its own version of it.

➜ pip show geoparquet
WARNING: Package(s) not found: geoparquet

I tried 3 of the examples none show the map layers. migration_ipynb

I'm gonna check for debug options also on a different architecture next but any pointers would be great!

kylebarron commented 12 months ago

with 0.4.1 I can still see stuff rendered

image
virtualenv env
source ./env/bin/activate
pip install jupyterlab lonboard
python -m ipykernel install --user --name "$(basename "$PWD")"
./env/bin/jupyter lab

you might want to look in the console.

alternatively, the issue might just be that the example you're looking at explicitly won't render aside from hovering your cursor over the map. So you need to hover over the US to visualize the Arcs

kylebarron commented 12 months ago

Actually can you try 0.3.0? It seems I do have some issues still in 0.4.1

sabman commented 12 months ago

Sweet! that worked... thanks heaps

pip install lonboard==0.3.0

Cursor_and_lab__2__-_JupyterLab

Errors from 0.4.1 console FYI: Menubar_and_internet-spe…__2__-_JupyterLab_and_Welcome_—_geomocha__SSH__rirs7fpdysrvpdl8_myfritz_net_

Let me know I can help look at the logs more deeply.

kylebarron commented 12 months ago

Could you try again with 0.4.2? Thanks!

I tried a few of the examples and they seem to work now again

sabman commented 12 months ago

excellent seems to be fixed including the experimental module

migration