MCPcopy
hub / github.com/django/django / Extent

Class Extent

django/contrib/gis/db/models/aggregates.py:65–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

63
64
65class Extent(GeoAggregate):
66 name = "Extent"
67 is_extent = "2D"
68
69 def __init__(self, expression, **extra):
70 super().__init__(expression, output_field=ExtentField(), **extra)
71
72 def convert_value(self, value, expression, connection):
73 return connection.ops.convert_extent(value)
74
75
76class Extent3D(GeoAggregate):

Callers 6

test_extent_filterMethod · 0.90
test_extentMethod · 0.90
test_extentMethod · 0.90

Calls

no outgoing calls

Tested by 6

test_extent_filterMethod · 0.72
test_extentMethod · 0.72
test_extentMethod · 0.72