Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Mapping of GTFS data to network error

Hi,
the first warning about the tracemapper can be ignored but the second is
strange, it basically says that it either could not find data for busses
in the GTFS or no edges alllowing busses in the network and thus
generated no bus network. Since the GTFS import is quite new and all
data providers implement the standard a little bit differently, can you
share your inputs?

Best regards,
Michael

Am 12.10.21 um 08:43 schrieb Genaro Jr. Peque:
> 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
> sumo-user@xxxxxxxxxxx
> To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
> 



Back to the top