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

routable network download error #236

Open
Fern-Parker opened this issue Mar 15, 2022 · 3 comments
Open

routable network download error #236

Fern-Parker opened this issue Mar 15, 2022 · 3 comments

Comments

@Fern-Parker
Copy link

Fern-Parker commented Mar 15, 2022

When I download routable network from OSM, I get "CRSError: Invalid input to create CRS"****. Any help will be greatly appreciated!

微信图片1

微信图片_20220315210151

@cyang-kth
Copy link
Owner

The problem seems to be an issue with fiona, try to check the version of osmnx

The version it worked with is " 0.15.0 "

cyang-kth/osm_mapmatching#13

@Fern-Parker
Copy link
Author

Thank you. But, After changing to osmnx 0.15.0, I still encounter the same issue.

@Fern-Parker
Copy link
Author

When I write like the following, it works well!

save the nodes and edges as separate ESRI shapefiles

with fiona.Env(OSR_WKT_FORMAT="WKT2_2018"):
gdf_nodes.to_file(filepath_nodes, encoding=encoding)
gdf_edges.to_file(filepath_edges, encoding=encoding)

Reference: geopandas/geopandas#1697 (comment)

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