Worldpop Stats Polygon
worldpop_stats_polygonTotal population inside any polygon you draw, from WorldPop 100 m gridded population estimates (University of Southampton), for any year 2000-2020. Pass a GeoJSON Polygon or MultiPolygon in WGS84 and get the summed population count back. AUTHORITATIVE for "how many people live inside this boundary" at arbitrary geometry — a catchment, a flood extent, a service area, a proposed district — where census tables only answer for official administrative units. Keyless.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | No | Year of the population surface, 2000-2020 (default 2020). | |
| dataset | No | WorldPop dataset id — "wpgppop" (population count, default) or "wpgpas" (age and sex structures). Call worldpop_datasets for the list. | |
| geojson | Yes | A GeoJSON geometry in WGS84 (lon, lat) — {"type":"Polygon","coordinates":[[[lon,lat],...]]} or a MultiPolygon. A Feature or FeatureCollection is unwrapped for you; the ring must be closed (first point repeated last). | |
| runasync | No | Return the task id immediately instead of waiting for the result. Default false — the tool polls until the job finishes (about 3-10 seconds). |