Distributions and summary statistics for a zoning category in a commune
Returns the per-parcel metric distributions, summary statistics, age cohorts, and raw scatter inputs that drive the room Aireon app. Backed by an in-memory LRU keyed on ${fso}:${cz_local} (capacity 500, TTL 1 hour).
Server-side rules:
- Nulls are dropped before computing distributions and summary.
- Hard outliers (above p99.5 or below p0.5 within the zone) are trimmed from
distributions[*]; raw min/max stay insummary. parcels[]is unfiltered.other_zoneslists every distinctcz_localin the same FSO except the queried one, sorted by parcel count desc.
POST
https://res.aireon.ch/res_api/zone_statsAuthorization
Request body JSON required
Example request
{
"fso": 4671,
"cz_local": "Industrie- und Gewerbezone 2",
"lang": "de"
}Returns
200
Zone statistics payload.
JSON
- age_cohortsobjectrequired
Mean, p50 and p80 of cz_util_now (utilization) per building-age cohort, widest window first. Seven precision steps: the all-years baseline plus six trailing windows (60/40/20/15/10/5 years). The 15/10/5 steps were added 2026-08-24. Windows are relative to the current year. Each cohort carries
n- the narrower the window the thinner the sample, so readnbefore trusting a cohort mean.