momepy.snap_street_network_edge¶
-
momepy.
snap_street_network_edge
(edges, buildings, tolerance_street, tessellation=None, tolerance_edge=None, edge=None, verbose=True)[source]¶ Fix street network before performing
momepy.Blocks
.Extends unjoined ends of street segments to join with other segments or tessellation boundary.
- Parameters
- edgesGeoDataFrame
GeoDataFrame containing street network
- buildingsGeoDataFrame
GeoDataFrame containing building footprints
- tolerance_streetfloat
tolerance in snapping to street network (by how much could be street segment extended).
- tessellationGeoDataFrame (default None)
GeoDataFrame containing morphological tessellation. If edge is not passed it will be used as edge.
- tolerance_edgefloat (default None)
tolerance in snapping to edge of tessellated area (by how much could be street segment extended).
- edgePolygon
edge of area covered by morphological tessellation (same as
limit
inmomepy.Tessellation
)- verbosebool (default True)
if True, shows progress bars in loops and indication of steps
- Returns
- GeoDataFrame
GeoDataFrame of extended street network.