3.4.6.6. Raster zonal stats (complete interface)

_images/raster_zonal_stats_tab.png

Raster zonal stats

This tab allows for calculating the statistics related to an input raster for every unique value of a reference vector. For example, if a vector file contains a numeric field zone, this tool allows for calculating the mean value (for each zone) of input raster pixels. It is loaded only if the Simplified interface is not enabled.

Tip

Information about APIs of this tool in Remotior Sensus at this link .

3.4.6.6.1. Raster zonal stat

Tool symbol and name

Description

Select the input raster input_list

select a raster (already loaded in QGIS)

reload

refresh layer list

Select the reference vector or raster input_list

select a raster or a vector (already loaded in QGIS), used as reference layer for zones

reload

refresh layer list

Vector field input_list

if a vector is selected as reference, select a vector field containing numeric values

3.4.6.6.2. Statistic

Tool symbol and name

Description

checkbox Count optional

if checked, calculate Count statistic

checkbox Maximum optional

if checked, calculate Maximum statistic

checkbox Minimum optional

if checked, calculate Minimum statistic

checkbox Mean optional

if checked, calculate Mean statistic

checkbox Median optional

if checked, calculate Median statistic

checkbox Percentile optional input_text

if checked, calculate Percentile statistic; multimple percentile values can be entered separated by comma in the input text

checkbox Standard deviation optional

if checked, calculate Standard deviation statistic

checkbox Sum optional

if checked, calculate Sum statistic

3.4.6.6.3. Run

Tool symbol and name

Description

Script script_tool

add this function to the Script (complete interface)

RUN run

run this function