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


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 "
https://github.com/cyang-kth/osm_mapmatching/issues/13
Thank you. But, After changing to osmnx 0.15.0, I still encounter the same issue.
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: https://github.com/geopandas/geopandas/issues/1697#issuecomment-878705571