Opened 13 years ago
Closed 11 years ago
#20253 closed New feature (fixed)
GeoDjango - made GeoQuerySet.extent() available with Spatialite
| Reported by: | 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 )
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 , 13 years ago
| Triage Stage: | Unreviewed → Accepted | 
|---|---|
| Version: | 1.4 → master | 
comment:2 by , 12 years ago
| Description: | modified (diff) | 
|---|
comment:3 by , 12 years ago
comment:4 by , 11 years ago
| Resolution: | → fixed | 
|---|---|
| Status: | new → closed | 
This has been added in [a7d964ab87ad7352af3e33b8f3c12e4643a80f02] for Spatialite >= 3 (which really supports Extent).
  Note:
 See   TracTickets
 for help on using tickets.
    
See also #12733 that ask for the same feature for MySQL.