worldbank / GOSTnets

Convenience wrapper for networkx analysis using geospatial information, focusing on OSM
https://worldbank.github.io/GOSTnets/
MIT License
21 stars 15 forks source link

Oneway roads need to be taken into account when loading OSM data #39

Open d3netxer opened 2 years ago

d3netxer commented 2 years ago

The 'oneway' tag doesn't seem to be retained during the load_osm modules initialReadIn method (https://github.com/worldbank/GOSTnets/blob/master/GOSTnets/load_osm.py#L328). The add_missing_reflected_edges function in GOSTnets core can actually take oneway tags into account. Need to look into further...