cars.applications.dsm_filling.border_interpolation

This module contains the border interpolation dsm filling application class.

Module Contents

Classes

BorderInterpolation

Border interpolation

class cars.applications.dsm_filling.border_interpolation.BorderInterpolation(conf=None)[source]

Bases: cars.applications.dsm_filling.dsm_filling.DsmFilling

Border interpolation

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, dtm_file, dump_dir, roi_polys, roi_epsg)

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