| 63 | |
| 64 | |
| 65 | class 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 | |
| 76 | class Extent3D(GeoAggregate): |
no outgoing calls