jupyter-renderers icon indicating copy to clipboard operation
jupyter-renderers copied to clipboard

GeoJSON Renderer not displaying

Open mishari opened this issue 2 years ago • 9 comments

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: <IPython.display.GeoJSON object>

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.

mishari avatar Dec 10 '22 05:12 mishari

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:

welcome[bot] avatar Dec 10 '22 05:12 welcome[bot]

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

jeromeof avatar Jan 18 '23 14:01 jeromeof

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.

davidvandebunte avatar Jul 18 '23 17:07 davidvandebunte

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.

stelios-c avatar Jan 17 '24 21:01 stelios-c

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

agussman avatar Jan 19 '24 03:01 agussman

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?

jtpio avatar Jun 14 '24 06:06 jtpio

@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.

stelios-c avatar Jun 14 '24 09:06 stelios-c

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.

krassowski avatar Jun 14 '24 09:06 krassowski

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

stelios-c avatar Jun 21 '24 22:06 stelios-c