I have been trying to use networkX to read in an ESRI shapefile that is created by using their feature to line toolbox. I can use read_shp() on each shapefile individually, however after combining the three with the FTL tool i get the error
G = nx.read_shp("D:\Code projects\ZacsWizard\ZacWizard\test shapes\realftl\kent.shp")
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\Anaconda2\envs\arc1040\lib\site-packages\networkx\readwrite\nx_shp.py", line 69, in read_shp
for lyr in shp:
TypeError: 'NoneType' object is not iterable
I know this has to be an error relating to the new shapefile created. Here is a dropbox link with an archive containing a trail map, that read shape works on, and a feature to line map "smallkent.shp" that read shape doesn not work on