neatnet.induce_nodes#
- neatnet.induce_nodes(streets, *, eps=0.0001)[source]#
Adding potentially missing nodes on intersections of individual LineString endpoints with the remaining network. The idea behind is that if a line ends on an intersection with another, there should be a node on both of them.
- Parameters:
- streets
geopandas.GeoDataFrame Input LineString geometries.
- eps
float= 1e-4 Tolerance epsilon for point snapping passed into
nodes.split().
- streets
- Returns:
geopandas.GeoDataFrameUpdated
streetswith (potentially) added nodes.