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!
![微信图片1](https://user-images.githubusercontent.com/65001090/158395607-092059ec-668b-4ef9-a298-a5e2b032ecdf.png)
![微信图片_20220315210151](https://user-images.githubusercontent.com/65001090/158383349-4e999619-a5a6-4b77-b2e0-962596d1aff2.png)
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