Buildings#

Simplification#

simplify_building_morphological

Simplify buildings using morphological closing and structural generalization.

simplify_building_ruas

Simplify buildings by removing edges.

Regularization#

regularize_building_fer

Regularize a polygon using feature edge reconstruction.

regularize_building_rectangle

Transform a polygon into a rectangle.

regularize_building_regression

Regularize a polygon using recursive linear regression.

Squaring#

square_polygon_ls

Squares a polygon using the method of least squares.

square_polygon_naive

Squares a polygon according to its orientation, vertex by vertex.

square_polygon_orthogonal

Squares a building by forcing it into an orthogonal coordinate system.

Typification#

typify_buildings_matching

Typify buildings using the matching-based algorithm for web mapping.

typify_buildings_burghardt_cecconi

Typify buildings using the Burghardt-Cecconi algorithm.

Building blocks#

amalgamate_buildings

Amalgamate two buildings by computing their most compact junction.

amalgamate_buildings_morphological

Amalgamate buildings using dilation and erosion.

boffet_areas

Calculate urban areas from buildings.

random_displacement

Iteratively displace polygons overlapping each other and the provided network.