Opened 3 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)

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 3 years ago by claudep

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Accepted
  • Version changed from 1.4 to master

comment:2 Changed 3 years ago by ramiro

  • Description modified (diff)

comment:3 Changed 3 years ago by ramiro

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

comment:4 Changed 2 years ago by claudep

  • Resolution set to fixed
  • Status changed from new to closed

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

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