nismod / open-gira

Open-data Global Infrastructure Risk/Resilience Analysis
https://nismod.github.io/open-gira/
MIT License
12 stars 3 forks source link

change serialisation of empty slices (of nodes or edges) #130

Closed thomas-fred closed 11 months ago

thomas-fred commented 11 months ago

In case of no nodes/edges change from completely empty dataframe to empty geodataframe (no rows) but with a minimal column set (geometry). This is necessary as geopandas/pyarrow behaviour on opening empty geodataframe has changed.