jupyterlab / jupyter-renderers

Renderers and renderer extensions for JupyterLab
BSD 3-Clause "New" or "Revised" License
489 stars 77 forks source link

GeoJSON Renderer not displaying #292

Open mishari opened 1 year ago

mishari commented 1 year ago

When I run the example from

https://github.com/jupyterlab/jupyter-renderers/blob/master/packages/geojson-extension/README.md

Instead of getting a rendered output, I get the following string:

This is with jupyterlab-geojson 3.3.1 and I'm also facing this issue on Google Colab I've already tried restarting jupyter locally.
welcome[bot] commented 1 year ago

Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! :hugs:
If you haven't done so already, check out Jupyter's Code of Conduct. Also, please try to follow the issue template as it helps other other community members to contribute more effectively. welcome You can meet the other Jovyans by joining our Discourse forum. There is also an intro thread there where you can stop by and say Hi! :wave:
Welcome to the Jupyter community! :tada:

jeromeof commented 1 year ago

I have this problem also? Is there a simple fix?

davidvandebunte commented 1 year ago

Same issue here. Per Module: display — GeoJSON we should only need a frontend that supports GeoJSON display, but this does not seem to be the case.

stelios-c commented 8 months ago

I think I'm having the same issue on Google Cloud Platform, Vertex AI Workbench, both on User Managed Notebook (which is closer to vanilla Jupyter) and on the new Instances (which is a Frankensteined Jupyter plus GCP Services). I believe it was working on User Managed Notebooks back in November 2022.

agussman commented 8 months ago

@stelios-c Exact same thing (Google Cloud Vertex AI Workbench Instance Version M113).

jtpio commented 3 months ago

Just tried locally with the following versions:

jupyterlab                4.2.2
jupyterlab_geojson        3.4.0

And it seems to be working well:

image

Would you be able to update to the latest versions to see if it fixes the issue?

stelios-c commented 3 months ago

@jtpio thank you for checking. I tried again on GCP Vertex AI Workbench Instance M120 , Jupyter Lab Version 3.6.6 and all I get is <IPython.display.GeoJSON object> . This is my environment for corporate work. I'll try the Github Workspaces JupyterLab when I can, which is my hobby environment, and will have a more up to date JupyterLab.

krassowski commented 3 months ago

It looks like the GCP Vertex AI Workbench has a pretty old version of JupyterLab, and likely does not have an appropriate version of jupyterlab_geojson installed. I think that this needs to be addressed by however manages GCP Vertex AI Workbench.

stelios-c commented 3 months ago

ok I can confirm it works on Github Workspaces, jupyterlab-geojson-extension 3.4.0 , Jupyter Lab Version 4.2.1