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

KeyError: 0 #18

Closed
aditrademark opened this issue Nov 1, 2023 · 1 comment
Closed

KeyError: 0 #18

aditrademark opened this issue Nov 1, 2023 · 1 comment

Comments

@aditrademark
Copy link

I have noticed that running the following code does not work when the node_id (in the node.csv file generated by osm2gmns) starts with anything other than 0.

Step 2: Generate zone dictionary from node dictionary by specifying number of x blocks and y blocks
zone_dict = gd.net2zone(node_dict, num_x_blocks=25, num_y_blocks=25)

The error is shown in the image below.
image_2023-10-31_210650318

Your efforts to fix this issue would be greatly appreciated. Thank you.

@xyluo25
Copy link
Collaborator

xyluo25 commented Jan 24, 2024

Hi Adiya,

Thank you for your feedback on this issue. Are you still experiencing the problem? I believe our updated version has resolved it. For further details, please contact xluo70@asu.edu.

@xyluo25 xyluo25 closed this as completed May 16, 2024
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

2 participants