[Django] #29462: ogrinspect test failures with GDAL 2.2.x

1 view
Skip to first unread message

Django

unread,
May 31, 2018, 8:42:01 PM5/31/18
to django-...@googlegroups.com
#29462: ogrinspect test failures with GDAL 2.2.x
--------------------------------------+------------------------
Reporter: Tim Graham | Owner: nobody
Type: Bug | Status: new
Component: GIS | Version: 2.0
Severity: Normal | Keywords:
Triage Stage: Accepted | Has patch: 1
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
--------------------------------------+------------------------
In some ogrinspect tests, output of `srid=-1` is no longer present.
`layer.srs` in
https://github.com/django/django/blob/5008d59a2a8b9df09737fc05c9e343146a348a90/django/contrib/gis/utils/ogrinspect.py#L218-L227
is
{{{
GEOGCS["GCS_WGS_1984",
DATUM["WGS_1984",
SPHEROID["WGS_84",6378137,298.257223563]],
PRIMEM["Greenwich",0],
UNIT["Degree",0.017453292519943295]]
}}}
In the new version, it's:
{{{
GEOGCS["GCS_WGS_1984",
DATUM["WGS_1984",
SPHEROID["WGS_84",6378137,298.257223563]],
PRIMEM["Greenwich",0],
UNIT["Degree",0.017453292519943295],
AUTHORITY["EPSG","4326"]]
}}}
The behavior changed started in GDAL 2.2.0.

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

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

Django

unread,
Jun 1, 2018, 10:32:11 PM6/1/18
to django-...@googlegroups.com
#29462: ogrinspect test failures with GDAL 2.2.x
----------------------------+------------------------------------

Reporter: Tim Graham | Owner: nobody
Type: Bug | Status: closed
Component: GIS | Version: 2.0
Severity: Normal | Resolution: fixed

Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
----------------------------+------------------------------------
Changes (by GitHub <noreply@…>):

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


Comment:

In [changeset:"55f4eee75d41499995bfdb611ac89e80c87404eb" 55f4eee]:
{{{
#!CommitTicketReference repository=""
revision="55f4eee75d41499995bfdb611ac89e80c87404eb"
Fixed #29462 -- Fixed ogrinspect test failures with GDAL 2.2.
}}}

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

Django

unread,
Jun 1, 2018, 10:32:36 PM6/1/18
to django-...@googlegroups.com
#29462: ogrinspect test failures with GDAL 2.2.x
----------------------------+------------------------------------

Reporter: Tim Graham | Owner: nobody
Type: Bug | Status: closed
Component: GIS | Version: 2.0
Severity: Normal | Resolution: fixed

Keywords: | Triage Stage: Accepted
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:"93304b226941cc4c20fdb6d69a8d0f96eeb1f6fc" 93304b2]:
{{{
#!CommitTicketReference repository=""
revision="93304b226941cc4c20fdb6d69a8d0f96eeb1f6fc"
[2.1.x] Fixed #29462 -- Fixed ogrinspect test failures with GDAL 2.2.

Backport of 55f4eee75d41499995bfdb611ac89e80c87404eb from master
}}}

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

Django

unread,
Jun 1, 2018, 10:37:38 PM6/1/18
to django-...@googlegroups.com
#29462: ogrinspect test failures with GDAL 2.2.x
----------------------------+------------------------------------

Reporter: Tim Graham | Owner: nobody
Type: Bug | Status: closed
Component: GIS | Version: 2.0
Severity: Normal | Resolution: fixed

Keywords: | Triage Stage: Accepted
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:"8f1692923fd5ac10284e89e6a53a962ed38fb55e" 8f169292]:
{{{
#!CommitTicketReference repository=""
revision="8f1692923fd5ac10284e89e6a53a962ed38fb55e"
[2.0.x] Fixed #29462 -- Fixed ogrinspect test failures with GDAL 2.2.

Backport of 55f4eee75d41499995bfdb611ac89e80c87404eb from master
}}}

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

Django

unread,
Jun 1, 2018, 10:42:12 PM6/1/18
to django-...@googlegroups.com
#29462: ogrinspect test failures with GDAL 2.2.x
----------------------------+------------------------------------

Reporter: Tim Graham | Owner: nobody
Type: Bug | Status: closed
Component: GIS | Version: 2.0
Severity: Normal | Resolution: fixed

Keywords: | Triage Stage: Accepted
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:"d60d7d6d71018b17f01bbf0c390c7d929ff28310" d60d7d6]:
{{{
#!CommitTicketReference repository=""
revision="d60d7d6d71018b17f01bbf0c390c7d929ff28310"
[1.11.x] Fixed #29462 -- Fixed ogrinspect test failures with GDAL 2.2.

Backport of 55f4eee75d41499995bfdb611ac89e80c87404eb from master
}}}

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

Reply all
Reply to author
Forward
0 new messages