Opened 4 years ago

Closed 2 years ago

#20253 closed New feature (fixed)

GeoDjango - made GeoQuerySet.extent() available with Spatialite

Reported by: burton449geo@… Owned by: nobody
Component: GIS Version: master
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 Changed 4 years ago by Claude Paroz

Triage Stage: UnreviewedAccepted
Version: 1.4master

comment:2 Changed 3 years ago by Ramiro Morales

Description: modified (diff)

comment:3 Changed 3 years ago by Ramiro Morales

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

comment:4 Changed 2 years ago by Claude Paroz

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