xrspatial.mcda.combine.boolean_overlay#
- xrspatial.mcda.combine.boolean_overlay(criteria: dict[str, DataArray], operator: str = 'and', name: str = 'boolean_overlay') DataArray[source]#
Combine binary (boolean) criterion masks.
- Parameters:
criteria (dict of str to xr.DataArray) – Named boolean/binary criterion masks.
operator (str) –
"and"(intersection) or"or"(union).name (str) – Name of the output DataArray.
- Returns:
Binary suitability mask.
- Return type:
xr.DataArray