question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support rendering large GeoJSON datasets (+100Mb) with WebGL

See original GitHub issue

Hi,

I’m interested in an open source alternative to PyDeck/DeckGL for rendering large GeoJSON datasets on an interactive map with python (DeckGL uses MapBoxGL v2 for map, which is no longer open source).

I’ve made an initial plugin for leaflet (well, an extension for an existing plugin) to handle this rendering. I’m now interested in leveraging this functionality in a python context, but I have no experience with writing ipywidgets 😅

Before I get started, I’m wanting to get a bit of an idea…

  • is this something other people might interested in?
  • have I missed something, does this functionality already exist in somewhere…?
  • would this project/repo be the correct place to add this functionality?
    • if so, any guidance on making contributions + how to write the ipywidget wrapper would be much appreciated…

Cheers, Dan

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:3
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
martinRenoucommented, Apr 19, 2021

Hi,

Thanks for sharing! Yes, we would be really interested in this 😃

As you seem to be really familiar with JavaScript and LeafletJS already, you might not have too much trouble trying to include it in ipyleaflet. It would be awesome if you could give it a try! And I would be happy to guide you.

You might want to look at how the GeoJSON layer is implemented JS side in ipyleaflet: https://github.com/jupyter-widgets/ipyleaflet/blob/master/js/src/layers/GeoJSON.js And how it is implemented Python side: https://github.com/jupyter-widgets/ipyleaflet/blob/master/ipyleaflet/leaflet.py#L1111

1reaction
giswqscommented, Dec 11, 2022

@danwild Any updates on this one? Your demo https://onaci.github.io/Leaflet.glify.layer/ looks great. It would be nice if ipyleaflet can support rendering large vector datasets.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to render huge GeoJSON datasets on a map (part 2).
This is part #2 in a series of examples showing how to handle rendering of large GeoJSON datasets on an interactive web map...
Read more >
Best/fastest way to display very large datasets in the ArcGIS ...
I often work with large GeoJSON datasets with Esri's JS API. The very first thing I do is try to reduce the size...
Read more >
Working with large GeoJSON sources in Mapbox GL JS | Help
Mapbox GL GeoJSON sources are turned into Mapbox vector tiles on-the-fly by the client (web browser or mobile device). The purpose of this...
Read more >
Evaluating the Performance of Three Popular Web Mapping ...
Recent Web technologies such as HTML5, JavaScript, and WebGL have enabled powerful and ... raw data in GeoJSON format are well supported in...
Read more >
Large GeoJSON data issue - ThinkGeo Discussion Forums
Rendering 100-150 MB GeoJSON works with a good rendering speed, but the memory requirements on the client is huge (> 600 MB). Too...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found