cars.applications.dsm_filling.bulldozer_filling_app

This module contains the bulldozer dsm filling application class.

Classes

BulldozerFilling

Bulldozer filling

Functions

bulldozer_filling_wrapper(dsm_file, filling_file, ...)

Wrapper for exogenous filling, to be applied on each tile of the DSM.

Module Contents

class cars.applications.dsm_filling.bulldozer_filling_app.BulldozerFilling(conf=None)[source]

Bases: cars.applications.dsm_filling.abstract_dsm_filling_app.DsmFilling

Bulldozer filling

used_method
classification
save_intermediate_data
check_conf(conf)[source]

Check configuration

Parameters:

conf (dict) – configuration to check

Returns:

overloaded configuration

Return type:

dict

run(dsm_file, classif_file, filling_file, dump_dir, roi_polys, roi_epsg, orchestrator=None, dsm_dir=None, tile_size=10000)

Run dsm filling using initial elevation and the current dsm Replaces dsm.tif by the filled dsm. Adds a new band to filling.tif if it exists. The old dsm is saved in dump_dir.

roi_poly can any of these objects :
  • a list of Shapely Polygons

  • a Shapely Polygon

cars.applications.dsm_filling.bulldozer_filling_app.bulldozer_filling_wrapper(dsm_file, filling_file, classif_file, dtm_path, roi_polys, roi_epsg, classification, window=None, saving_info=None, profile=None)[source]

Wrapper for exogenous filling, to be applied on each tile of the DSM.

Parameters:
  • dsm_file – dsm file to fill

  • filling_file – filling file

  • classif_file – classification file

  • dtm_path – dtm file

Returns:

filled dsm xarray dataset