voxcity.generator.pipeline.OSMCanopyStrategy

class voxcity.generator.pipeline.OSMCanopyStrategy(cfg: voxcity.models.PipelineConfig)

Bases: CanopySourceStrategy

Canopy strategy that downloads individual tree data from OpenStreetMap.

cfg
tree_gdf = None
build_grids(rectangle_vertices, meshsize: float, land_cover_grid: numpy.ndarray, output_dir: str, **kwargs)