onstove.RasterLayer.proximity#
- RasterLayer.proximity(value: int | float = 1) RasterLayer [source]#
Calculates an euclidean distance raster taking as starting points cells of the value indicated by the value parameter.
- Parameters:
- value: int or float, default 1
The value of the cells to consider starting points for the proximity calculation.
- Returns:
- RasterLayer
RasterLayer
containing the distance to the nearest cell of the value of the currentRasterLayer
.
See also