← Marketplace

Raster Zonal Statistics

Extracts zonal statistics from a raster image.


Raster Zonal Statistics computes statistics (e.g. mean, max, standard deviation, etc) within the input imagery or provided zones, both for visual and analytic products, and outputs a GeoJSON file.

For each band in the input image, statistics are computed, and the name of the key follows the convention [band_number]_[stats_name], for example 1_min. In addition another file is placed in the output called results_merged.geojson that will contain the results of all images and zones as a single GeoJSON file in the input image Coordinate Reference System. Note that this file is not exposed as an output capability. The data.json file of the task output is populated with the computed statistics.

This block is particularly useful to extract information from raster files. For instance, average NDVI values can be computed in zones, where the input is a set of NDVI rasters and zones represent the geometry defining each individual field.

General InformationDescription
Block TypeProcessing
Supported Input TypesGeoTIFF
Output FormatGeoJSON
ResolutionIdentical to the input
Default statistics'min’, 'max’, 'mean’, 'median’, 'std’, ‘count’

Note that the default zone uses the overall image geometry as a single zone. CRS of geometry is required to be EPSG:4326.

Check the documentation to see the full list of supported statistics and zone attributes.


To know more please check the block capabilities specifications.

Terms & conditions

View the End User License Agreement conditions.

Ready to get started?

Get in touch or become a partner.

Get startedBecome a partner