[Django] #27576: fallback to GDAL if spatial_ref_sys is unavailable

8 views
Skip to first unread message

Django

unread,
Dec 6, 2016, 2:53:20 AM12/6/16
to django-...@googlegroups.com
#27576: fallback to GDAL if spatial_ref_sys is unavailable
------------------------------------------------+------------------------
Reporter: Sergey Fedoseev | Owner: nobody
Type: Cleanup/optimization | Status: new
Component: GIS | Version: master
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
------------------------------------------------+------------------------
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.

--
Ticket URL: <https://code.djangoproject.com/ticket/27576>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Dec 6, 2016, 2:53:26 AM12/6/16
to django-...@googlegroups.com
#27576: fallback to GDAL if spatial_ref_sys is unavailable
-------------------------------------+-------------------------------------
Reporter: Sergey Fedoseev | Owner: Sergey
Type: | Fedoseev
Cleanup/optimization | Status: assigned
Component: GIS | Version: master
Severity: Normal | Resolution:

Keywords: | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Sergey Fedoseev):

* owner: nobody => Sergey Fedoseev
* status: new => assigned


--
Ticket URL: <https://code.djangoproject.com/ticket/27576#comment:1>

Django

unread,
Dec 6, 2016, 4:08:41 AM12/6/16
to django-...@googlegroups.com
#27576: fallback to GDAL if spatial_ref_sys is unavailable
-------------------------------------+-------------------------------------
Reporter: Sergey Fedoseev | Owner: Sergey
Type: | Fedoseev
Cleanup/optimization | Status: assigned
Component: GIS | Version: master
Severity: Normal | Resolution:
Keywords: | Triage Stage:
| Unreviewed
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Sergey Fedoseev):

* has_patch: 0 => 1


Comment:

[https://github.com/django/django/pull/7661 PR]

--
Ticket URL: <https://code.djangoproject.com/ticket/27576#comment:2>

Django

unread,
Dec 15, 2016, 4:08:29 PM12/15/16
to django-...@googlegroups.com
#27576: fallback to GDAL if spatial_ref_sys is unavailable
-------------------------------------+-------------------------------------
Reporter: Sergey Fedoseev | Owner: Sergey
Type: | Fedoseev
Cleanup/optimization | Status: assigned
Component: GIS | Version: master
Severity: Normal | Resolution:
Keywords: | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Tim Graham):

* stage: Unreviewed => Ready for checkin


--
Ticket URL: <https://code.djangoproject.com/ticket/27576#comment:3>

Django

unread,
Dec 15, 2016, 4:36:53 PM12/15/16
to django-...@googlegroups.com
#27576: fallback to GDAL if spatial_ref_sys is unavailable
-------------------------------------+-------------------------------------
Reporter: Sergey Fedoseev | Owner: Sergey
Type: | Fedoseev
Cleanup/optimization | Status: closed
Component: GIS | Version: master
Severity: Normal | Resolution: fixed

Keywords: | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Tim Graham <timograham@…>):

* status: assigned => closed
* resolution: => fixed


Comment:

In [changeset:"4884472447db11c57405edd5bdff36a171decd28" 48844724]:
{{{
#!CommitTicketReference repository=""
revision="4884472447db11c57405edd5bdff36a171decd28"
Fixed #27576 -- Made get_srid_info() fallback to GDAL if SpatialRefSys is
unavailable.
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/27576#comment:4>

Django

unread,
Dec 15, 2016, 5:59:42 PM12/15/16
to django-...@googlegroups.com
#27576: fallback to GDAL if spatial_ref_sys is unavailable
-------------------------------------+-------------------------------------
Reporter: Sergey Fedoseev | Owner: Sergey
Type: | Fedoseev
Cleanup/optimization | Status: closed
Component: GIS | Version: master

Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------

Comment (by Tim Graham <timograham@…>):

In [changeset:"3215bc98fe934f21f37fc5cc38ae5f123f444140" 3215bc98]:
{{{
#!CommitTicketReference repository=""
revision="3215bc98fe934f21f37fc5cc38ae5f123f444140"
Refs #27576 -- Fixed running Django's tests if GDAL isn't installed.
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/27576#comment:5>

Reply all
Reply to author
Forward
0 new messages