cars.applications.dsm_filling.exogenous_filling

This module contains the exogenous dsm filling application class.

Module Contents

Classes

ExogenousFilling

Exogenous filling

class cars.applications.dsm_filling.exogenous_filling.ExogenousFilling(conf=None)[source]

Bases: cars.applications.dsm_filling.dsm_filling.DsmFilling

Exogenous filling

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, output_geoid, geom_plugin)

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