deepness.processing.extent_utils.calculate_extended_processing_extent

calculate_extended_processing_extent(base_extent: <MagicMock name='mock.QgsRectangle' id='140217810845264'>, params: ~deepness.common.processing_parameters.map_processing_parameters.MapProcessingParameters, rlayer: <MagicMock name='mock.QgsVectorLayer' id='140217912467056'>, rlayer_units_per_pixel: float) <MagicMock name='mock.QgsRectangle' id='140217810845264'>

Calculate the “extended” processing extent, which is the full processing area, rounded to the tile size and overlap

Parameters:
  • base_extent (QgsRectangle) – Base extent of the processed ortophoto, which is not rounded to the tile size

  • params (MapProcessingParameters) – Processing parameters

  • rlayer (QgsVectorLayer) – mask layer

  • rlayer_units_per_pixel (float) – how many rlayer CRS units are in 1 pixel

Returns:

The “extended” processing extent

Return type:

QgsRectangle