You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 13, 2023. It is now read-only.
i converted the whole code to pyhton3 and reconfigure the importing
after the conversion am getting an error with a missing file I assume please refer the error as soon as possible
Creating graph from shapefile
Traceback (most recent call last):
File " example.py", line 41, in
net.load_network('example_data/FAF_Network.shp', p)
File "/home/user/Desktop/Adhil/test/map_matching/map_matching/network.py", line 64, in load_network
self.graph.create_from_geography(network_file, link_id, direction, cost_field, skims)
File "/home/user/Desktop/Adhil/test/map_matching/map_matching/aequilibrae/graph.py", line 101, in create_from_geography
geo_file_records = shapefile.Reader(geo_file)
File "/home/user/Desktop/Adhil/map_matching/venv/lib/python3.8/site-packages/shapefile.py", line 1045, in init
self.load(path)
File "/home/user/Desktop/Adhil/map_matching/venv/lib/python3.8/site-packages/shapefile.py", line 1190, in load
raise ShapefileException("Unable to open %s.dbf or %s.shp." % (shapeName, shapeName))
shapefile.ShapefileException: Unable to open example_data/FAF_Network.dbf or example_data/FAF_Network.shp.