Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#27576 closed Cleanup/optimization (fixed)

fallback to GDAL if spatial_ref_sys is unavailable

Reported by: Sergey Fedoseev Owned by: Sergey Fedoseev
Component: GIS Version: dev
Severity: Normal Keywords:
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

django.contrib.gis.db.models.fields.get_srid_info() should get SRS from GDAL if spatial_ref_sys is unavailable (i.e. on MySQL). It allows to better detect if field's SRS is geodetic and field's unit name.

Change History (5)

comment:1 by Sergey Fedoseev, 8 years ago

Owner: changed from nobody to Sergey Fedoseev
Status: newassigned

comment:2 by Sergey Fedoseev, 8 years ago

Has patch: set

comment:3 by Tim Graham, 8 years ago

Triage Stage: UnreviewedReady for checkin

comment:4 by Tim Graham <timograham@…>, 8 years ago

Resolution: fixed
Status: assignedclosed

In 48844724:

Fixed #27576 -- Made get_srid_info() fallback to GDAL if SpatialRefSys is unavailable.

comment:5 by Tim Graham <timograham@…>, 8 years ago

In 3215bc98:

Refs #27576 -- Fixed running Django's tests if GDAL isn't installed.

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