momepy.
snap_street_network_edge
(edges, buildings, tolerance_street, tessellation=None, tolerance_edge=None, edge=None)[source]¶Fix street network before performing blocks()
Extends unjoined ends of street segments to join with other segmets or tessellation boundary.
GeoDataFrame containing street network
GeoDataFrame containing building footprints
tolerance in snapping to street network (by how much could be street segment extended).
GeoDataFrame containing morphological tessellation. If edge is not passed it will be used as edge.
tolerance in snapping to edge of tessellated area (by how much could be street segment extended).
edge of area covered by morphological tessellation (same as limit in
momepy.tessellation()
)
GeoDataFrame of extended street network.