Closed oefe closed 4 years ago
This fixes issue #36 by explicitly converting the NodeView to a list.
NodeView
Change:
nodes_gdf = gpd.GeoDataFrame({'id': subgraph.nodes()}, geometry=node_points)
To:
nodes_gdf = gpd.GeoDataFrame({'id': list(subgraph.nodes())}, geometry=node_points)
Thanks!
This fixes issue #36 by explicitly converting the
NodeView
to a list.Change:
To: