Hi all,

I am currently trying to map my GTFS data to the OSM network I downloaded
using OSMnx (network_type=drive). I converted the OSM data (only nodes and
edges) to the sumo network file via netconvert.

I don't know exactly how the gtfs2pt.py script works but I am getting this
error message after running it with this command:

Command:

*python "C:\Program Files (x86)\Eclipse\Sumo\tools\import\gtfs\gtfs2pt.py"
-n tokyo_drive.net.xml --gtfs BUS-GTFS_20211007.zip --date 20211103*

Error:


*Success.Warning! No mapping library found, falling back to
tracemapper.Warning! No net resources\gtfs\bus.net.xml*

Am I correct to assume that the gtfs2pt.py script is trying to map each bus
stop to an edge by using a map matching algorithm? Or does the mapping
rely on geometries (e.g. public_transport=bus_stop)?

Since I can't seem to make it work, I was planning to manually extract the
data from the GTFS file and match the bus stop to each edge by finding the
nearest edge using the closest euclidean distance of its (lat, lon) pair.
The challenge is on how to know which lane of the edge to match it to and
the order of the edges that the buses will traverse within the assigned
route. I was hoping to get some insight into how the gtfs2pt.py script is
calculating it.

Thank you.
_______________________________________________
sumo-user mailing list
[email protected]
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user

Reply via email to