Dear Alejandro,
 
due to holidays, the SUMO team missed to download your example files in 
time. WeTransfer does not provide them anymore under the given link. Could 
you please upload them again?
 
Best regards
Mirko
 
 
 
-----Original-Nachricht-----
Betreff: [sumo-user] gtfs2pt.py error
Datum: 2023-09-04T11:21:32+0200
Von: "Alejandro Rodríguez Sánchez via sumo-user" <[email protected]>
An: "Sumo project User discussions" <[email protected]>
 
 
 
Hello,
I'm getting the error below the message body when running gtfs2pt.py. 
However, I am able to run it successfully in a different network with other 
GTFS data, so it seems the problem could be with the network or the GTFS 
data.
However, I don't truly understand what the error message is trying to say 
to me. What is exactly the cause of this error?
 
I attach a wetransfer link with the input data for the script in case is 
helpful. Thanks in advance!
 <https://we.tl/t-eA4k6eCWQI>
 
 
Traceback (most recent call last):
  File "/../sumo-V1.18.0/tools/import/gtfs/gtfs2pt.py", line 429, in 
<module>
    main(get_options())
  File " /../sumo-V1.18.0/tools/import/gtfs/gtfs2pt.py", line 408, in main
    stops = map_stops(options, net, routes, aout, edgeMap)
  File " /../sumo-V1.18.0/tools/import/gtfs/gtfs2pt.py", line 288, in 
map_stops
    route[lastIndex:], gtfs2osm.OSM2SUMO_MODES[mode], lastPos)
  File " /../sumo-V1.18.0/tools/import/gtfs/gtfs2osm.py", line 475, in 
getBestLane
    edges = [e for e in net.getNeighboringEdges(x, y, radius, 
includeJunctions=False) if e[0].getID() in edge_set]
  File " /../sumo-V1.18.0/tools/sumolib/net/__init__.py", line 280, in 
getNeighboringEdges
    self._rtreeEdges = self._initRTree(self._edges, includeJunctions)
  File " /../sumo-V1.18.0/tools/sumolib/net/__init__.py", line 272, in 
_initRTree
    result.add(ri, shape.getBoundingBox(includeJunctions))
  File " /../sumo-V1.18.0/tools/sumolib/net/edge.py", line 161, in 
getBoundingBox
    assert(xmin != xmax or ymin != ymax or self._function == "internal")
AssertionError
 
--
Alejandro Rodríguez Sánchez
PhD student
CIEMAT // Universidad Complutense de Madrid
28040 Madrid
email: [email protected] <mailto:[email protected]>
Website:<https://alexrsanchez.github.io/en/>

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

Reply via email to