Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#29462 closed Bug (fixed)

ogrinspect test failures with GDAL 2.2.x

Reported by: Tim Graham Owned by: nobody
Component: GIS Version: 2.0
Severity: Normal Keywords:
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

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.

PR

Change History (4)

comment:1 by GitHub <noreply@…>, 6 years ago

Resolution: fixed
Status: newclosed

In 55f4eee:

Fixed #29462 -- Fixed ogrinspect test failures with GDAL 2.2.

comment:2 by Tim Graham <timograham@…>, 6 years ago

In 93304b2:

[2.1.x] Fixed #29462 -- Fixed ogrinspect test failures with GDAL 2.2.

Backport of 55f4eee75d41499995bfdb611ac89e80c87404eb from master

comment:3 by Tim Graham <timograham@…>, 6 years ago

In 8f169292:

[2.0.x] Fixed #29462 -- Fixed ogrinspect test failures with GDAL 2.2.

Backport of 55f4eee75d41499995bfdb611ac89e80c87404eb from master

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

In d60d7d6:

[1.11.x] Fixed #29462 -- Fixed ogrinspect test failures with GDAL 2.2.

Backport of 55f4eee75d41499995bfdb611ac89e80c87404eb from master

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