Building Preprocess

Building preprocess

pybdshadow.bd_preprocess(buildings, height='')

Preprocess building data, so that we can perform shadow calculation. Remove empty polygons and convert multipolygons into polygons.

Parameters:
  • buildings (GeoDataFrame) – Buildings.

  • height (string) – Column name of building height(meter).

Returns:

allbds – Polygon buildings

Return type:

GeoDataFrame