nismod / open-gira

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

discard single node ways #85

Closed thomas-fred closed 2 years ago

thomas-fred commented 2 years ago

Fix for #79, where ways with a single node were raising errors in the osm_to_pq.py script as shapely was rightly complaining that a LineString must have a minimum of 2 coordinate pairs.