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

Fix Graphml / consolidated map import #5

Open
Brian-Fairbanks opened this issue Nov 9, 2021 · 0 comments · May be fixed by #6
Open

Fix Graphml / consolidated map import #5

Brian-Fairbanks opened this issue Nov 9, 2021 · 0 comments · May be fixed by #6

Comments

@Brian-Fairbanks
Copy link
Owner

I thoght this was related to a previously known issue with OSMNX where nodes were saved with '-' in the name when consolidated. Seems this isnt the case.

gboeing/osmnx#647

File "c:\Users\bfairbanks\projects\panda_testing\roads.py", line 192, in addNearestNodeToGDF
gdf["nearest node"] = np.vectorize(getPoint)(gdf.geometry, pbar)
File "C:\Users\bfairbanks\AppData\Local\Programs\Python\Python39\lib\site-packages\numpy\lib\function_base.py", line 2163, in call
return self._vectorize_call(func=func, args=vargs)
File "C:\Users\bfairbanks\AppData\Local\Programs\Python\Python39\lib\site-packages\numpy\lib\function_base.py", line 2249, in _vectorize_call
res = asanyarray(outputs, dtype=otypes[0])
OverflowError: Python int too large to convert to C long

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