Opened 11 years ago

Closed 10 years ago

#20253 closed New feature (fixed)

GeoDjango - made GeoQuerySet.extent() available with Spatialite

Reported by: burton449geo@… Owned by: nobody
Component: GIS Version: dev
Severity: Normal Keywords: GeoDjango, Spatialite
Cc: Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description (last modified by Ramiro Morales)

It could be a good idea to implement a GeoQuerySet.extent() for spatialite using this sql query:

SELECT Min(MbrMinX(geometry)), Min(MbrMinY(geometry)), Max(MbrMaxX(geometry)), Max(MbrMaxY(geometry)
FROM MyTable;

Change History (4)

comment:1 by Claude Paroz, 11 years ago

Triage Stage: UnreviewedAccepted
Version: 1.4master

comment:2 by Ramiro Morales, 10 years ago

Description: modified (diff)

comment:3 by Ramiro Morales, 10 years ago

See also #12733 that ask for the same feature for MySQL.

comment:4 by Claude Paroz, 10 years ago

Resolution: fixed
Status: newclosed

This has been added in [a7d964ab87ad7352af3e33b8f3c12e4643a80f02] for Spatialite >= 3 (which really supports Extent).

Note: See TracTickets for help on using tickets.
Back to Top