reVX.setbacks.setbacks_converter.parse_setbacks

parse_setbacks(setbacks, chunks=(128, 128), is_inclusion_layer=False)[source]

Load setbacks, combine multiple setbacks by state if needed

Parameters:
  • setbacks (list) – List of paths to setback geotiffs to load and combine

  • chunks (tuple, optional) – Chunk size of exclusions in Geotiff, by default (128, 128)

  • is_inclusion_layer (bool, optional) – Flag indicating wether this layer should be an inclusion layer instead of an exclusion mask, by default False.

Returns:

values (ndarray) – Setbacks exclusion array