#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.
Note:
See TracTickets
for help on using tickets.
In 55f4eee: