Union
This class provides a geographic aggregation function that returns a single geometry representing the union of all geometries in a queryset. It inherits from the base aggregation framework and ensures the resulting output is handled as a geometry field.
Attributes
| Attribute | Type | Description |
|---|---|---|
| name | string = Union | The name of the aggregate operation, used for internal identification and SQL generation. |
| output_field_class | [GeometryField](../../../forms/fields/geometryfield.md?sid=django_contrib_gis_forms_fields_geometryfield) = GeometryField | The field class used to represent the resulting spatial data type of the union operation. |
Constructor
Signature
def Union()
Signature
def Union() - > null