deepness.processing.extent_utils

This file contains utilities related to Extent processing

Functions

calculate_base_extent_bbox_in_full_image

Calculate how the base extent fits in extended_extent in terms of pixel position

calculate_base_processing_extent_in_rlayer_crs

Determine the Base Extent of processing (Extent (rectangle) in which the actual required area is contained)

calculate_extended_processing_extent

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

is_extent_infinite_or_too_big

Check whether layer covers whole earth (infinite extent) or or is too big for processing

round_extent_to_rlayer_grid

Round to rlayer "grid" for pixels.