geo-registry

rasterstats.gen_zonal_stats

How rasterstats runs Zonal statistics: rasterstats.gen_zonal_stats.

About this implementation
Engine rasterstats
Tool name rasterstats.gen_zonal_stats
Interface python
Implements Zonal statistics
Documentation Not stated
Effects modifies input: no, network: no
Notes Not stated
Status active

Parameters

Name Type Required Default Choices Note
vectors any yes Not stated Not stated Not stated
raster any yes Not stated Not stated Not stated
layer integer no 0 Not stated Not stated
band integer no 1 Not stated Not stated
nodata any no Not stated Not stated Not stated
affine any no Not stated Not stated Not stated
stats any no Not stated Not stated Not stated
all_touched boolean no no Not stated Not stated
categorical boolean no no Not stated Not stated
category_map any no Not stated Not stated Not stated
add_stats any no Not stated Not stated Not stated
zone_func any no Not stated Not stated Not stated
raster_out boolean no no Not stated Not stated
prefix any no Not stated Not stated Not stated
geojson_out boolean no no Not stated Not stated
boundless boolean no yes Not stated Not stated
engine any no Not stated Not stated Not stated
chunk_size integer no 65536 Not stated Not stated

How it maps to the operation

Operation parameter Parameter here Note
raster raster Not stated
zones vectors Not stated
stats stats count = count; mean = mean; min = min; max = max; sum = sum; std = std
band band Not stated
all_touched all_touched Not stated

Differences from the operation

  • A generator of one dict per zone; rasterstats.zonal_stats takes the same arguments and returns a list.

Harvested by the python-packages harvester from engine version 0.21.0. Names can change when an engine is harvested again.