onaci / folium-glify-layer

Folium plugin to provide fast webgl rendering for GeoJSON FeatureCollections
Other
12 stars 5 forks source link

Example with GeoPandas? #2

Open LummersGit opened 1 year ago

LummersGit commented 1 year ago

Is it possible to have a minimum example where the Glify layer is created from a GeoDataFrame?

I have large GDFs with thousands of points and lines read in from .csv files. It would be great to visualise them in Folium - exporting to HTML without Glify is too large for browser to handle.

Thank you!

ch-sander commented 4 months ago

Plus one

danwild commented 4 months ago

This plugin (and the underlying JS library) expects input in the GeoJSON format.

Have you considered using something like GeoDataFrame.to_json?