Previous topic


Next topic


GIS ShapefileΒΆ

Generates a networkx.DiGraph from point and line shapefiles.

“The Esri Shapefile or simply a shapefile is a popular geospatial vector data format for geographic information systems software. It is developed and regulated by Esri as a (mostly) open specification for data interoperability among Esri and other software products.” See for additional information.

read_shp(path) Generates a networkx.DiGraph from shapefiles. Point geometries are
write_shp(G, outdir) Writes a networkx.DiGraph to two shapefiles, edges and nodes.