openforis / sepal

Geographical Data Processing in the Cloud
https://sepal.io/
MIT License
203 stars 45 forks source link

Support Vector Tile Layers #241

Open dfguerrerom opened 1 year ago

dfguerrerom commented 1 year ago

The module SEPAFE is requesting fire alerts from FIRMS servers through CSV files and then is converting them into a GeoJSON file to display them in an ipyleaflet map, this solution works well when the response is relatively small (less than 20k alerts) but is overloading the browser when it receives complex geometries or too many features.

I've been searching for a Vector Tile Layer package but haven't found anything fully implemented so far (as localtileserver or xarray_leaflet for images). There is a package called tippecanoe that might be helpful since it can create vector tiles from geojson files but has to be installed with "usr" permissions.

Has anyone had any experience when dealing with vector layers? or have experienced any other workaround?