dissolve_layer
Merge features sharing an attribute value into one geometry, aggregating other columns with sum, mean, median, min, max, or count. Null keys are dropped and output counts verified.
Instructions
Merge features into one geometry per value of by (or one feature in all).
aggfunc — first (default), last, sum, mean, median, min, max or count — is
applied to the other columns and RECORDED in the manifest: a sum reported
where a mean was meant is a plausible wrong number nobody can see. Features
with a null by key are dropped by the grouping and the manifest counts
them. The output feature count is verified against the number of distinct
keys, so a wrong grouping fails loudly instead of shipping.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| by | No | ||
| aggfunc | No | first | |
| input_path | Yes | ||
| output_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||