voxcity.geoprocessor.heights ============================ .. py:module:: voxcity.geoprocessor.heights .. autoapi-nested-parse:: Height extraction and complement utilities for building footprints. Functions --------- .. autoapisummary:: voxcity.geoprocessor.heights.extract_building_heights_from_gdf voxcity.geoprocessor.heights.complement_building_heights_from_gdf voxcity.geoprocessor.heights.extract_building_heights_from_geotiff Module Contents --------------- .. py:function:: extract_building_heights_from_gdf(gdf_0: geopandas.GeoDataFrame, gdf_1: geopandas.GeoDataFrame) -> geopandas.GeoDataFrame Extract building heights from one GeoDataFrame and apply them to another based on spatial overlap. .. py:function:: complement_building_heights_from_gdf(gdf_0, gdf_1, primary_id='id', ref_id='id') Vectorized approach with GeoPandas to compute weighted heights and add non-intersecting buildings. Returns a single combined GeoDataFrame. .. py:function:: extract_building_heights_from_geotiff(geotiff_path, gdf) Extract building heights from a GeoTIFF raster for building footprints in a GeoDataFrame.