class Extent3D(geo_field)
Availability: PostGIS
Returns the 3D extent of all geo_field
in the QuerySet
as a six-tuple, comprising the lower left coordinate and upper right coordinate (each with x, y, and z coordinates).
Example:
>>> qs = City.objects.filter(name__in=('Houston', 'Dallas')).aggregate(Extent3D('poly')) >>> print(qs['poly__extent3d']) (-96.8016128540039, 29.7633724212646, 0, -95.3631439208984, 32.782058715820, 0)
Please login to continue.