QGIS Algorithm provided by QGIS (native c++) Zonal minimum/maximum point (native:zonalminmaxpoint). Extracts point locations for minimum and maximum raster values within polygon zones. This algorithm extracts point features corresponding to the minimum and maximum pixel values contained within polygon zones. The output will contain one point feature for the minimum and one for the maximum raster value for every individual zonal feature from a polygon layer. The created point layer will be in the same spatial reference system as the selected raster layer. —————- Notes —————- - This algorithm drops existing primary keys or FID values and regenerates them in output layers.

qgis_zonalminmaxpoint(
  INPUT = qgisprocess:::qgis_default_value(),
  INPUT_RASTER = qgisprocess:::qgis_default_value(),
  RASTER_BAND = qgisprocess:::qgis_default_value(),
  OUTPUT = qgisprocess:::qgis_default_value(),
  ...,
  .complete_output = .complete_output_option(),
  .quiet = .quiet_option(),
  .messages = .message_option()
)

Arguments

INPUT

source - Input layer. Path to a vector layer.

INPUT_RASTER

raster - Raster layer. Path to a raster layer.

RASTER_BAND

band - Raster band. Integer value representing an existing raster band number.

OUTPUT

sink - Zonal Extrema. Path for new vector layer.

...

further parameters passed to qgisprocess::qgis_run_algorithm()

.complete_output

logical specifying if complete out of qgisprocess::qgis_run_algorithm() should be used (TRUE) or first output (most likely the main) should read (FALSE). Default value is TRUE.

.quiet

logical specifying if parameter .quiet for qgisprocess::qgis_run_algorithm() Default value is TRUE.

.messages

logical specifying if messages from qgisprocess::qgis_run_algorithm() should be printed (TRUE) or not (FALSE). Default value is FALSE.

Details

Outputs description

  • OUTPUT - outputVector - Zonal Extrema