Zonal statistics: per-zone min/max/mean/sum/count/area over a raster. zones = [{ id?, polygon | filter }]
(a ring/multi-ring of {lat,lng}|[lat,lng], or a SpatialFilter). noData/NaN pixels are excluded; area
is in the bounds' units² (WGS84 → deg²; scale to metres in the caller if needed).
Zonal statistics: per-zone min/max/mean/sum/count/area over a raster.
zones= [{ id?, polygon | filter }] (a ring/multi-ring of {lat,lng}|[lat,lng], or a SpatialFilter). noData/NaN pixels are excluded;areais in the bounds' units² (WGS84 → deg²; scale to metres in the caller if needed).