Hi Alejandro,
I was able to reproduce the error after some editing of the GTFS data
(service ID did not match across the files). It is related to the SUMO
network you provided: The edge 111540040#0 has a length of 0 (start and end
points match) which is not expected for normal edges. Could you give us
some hints how you generated the network?
Best regards
Mirko
-----Original-Nachricht-----
Betreff: Re: [sumo-user] gtfs2pt.py error
Datum: 2023-09-15T13:41:37+0200
Von: "Alejandro Rodríguez Sánchez" <[email protected]>
An: "Mirko Barthauer" <[email protected]>, "Sumo project User
discussions" <[email protected]>
Hello Mirko,
You can find the files attached on this new link:
<https://we.tl/t-cnZqc7UByt>
Kind regards,
Alejandro
El lun, 11 sept 2023 a las 13:01, Mirko Barthauer via sumo-user (<
[email protected] <mailto:[email protected]> >) escribió:
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]
<mailto:[email protected]> >
An: "Sumo project User discussions" <[email protected]
<mailto:[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] <mailto:[email protected]>
To unsubscribe from this list, visit
<https://www.eclipse.org/mailman/listinfo/sumo-user>
--
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