Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Converter.py error #127

Open
mcolavita opened this issue May 26, 2021 · 2 comments
Open

Converter.py error #127

mcolavita opened this issue May 26, 2021 · 2 comments

Comments

@mcolavita
Copy link

I'm trying to convert osm.net.xml file with the converter.py and I have this error:

Traceback (most recent call last):
File "converter.py", line 537, in
main(args)
File "converter.py", line 516, in main
final_intersections = get_final_intersections(net,tls_dict,edge_dict)
File "converter.py", line 452, in get_final_intersections
intersection = node_to_intersection(node,tls_dict,edge_dict)
File "converter.py", line 397, in node_to_intersection
for connec in tls_dict[nodeid]._connections:
KeyError: '1298408173'

what I have to do?

@mbkorecki
Copy link

mbkorecki commented Jun 29, 2021

I am experiencing the same problem. I looked into sumo net.xml files and it seems to me the converter.py assumes the traffic light controlled junction id is the same as traffic plan id which is true for some sumo scenarios and not true for many others.

@thesneakerhead
Copy link

I am experiencing the same problem. I looked into sumo net.xml files and it seems to me the converter.py assumes the traffic light controlled junction id is the same as traffic plan id which is true for some sumo scenarios and not true for many others.

Did you find a solution for this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants