Ticket #1697 (closed defect: fixed)

Opened 6 years ago

Last modified 6 years ago

EPSG authority code wrongly applied in grid driver

Reported by: ilucena Owned by: warmerdam
Priority: normal Milestone: 1.4.3
Component: OGR_SRS Version: unspecified
Severity: normal Keywords: aigrid esri
Cc: ilucena

Description

The is is an error in the code for the grid driver which applies the 32104 EPSG authority code to a state plane coordinate system that is not in the official units.

data sample @ black.clarku.edu/ilucena/landcover_82.zip

Change History

in reply to: ↑ description   Changed 6 years ago by ilucena

Correction:

black.clarku.edu/~ilucena/sample/landcover_82.zip

  Changed 6 years ago by warmerdam

  • keywords aigrid esri added
  • resolution set to fixed
  • status changed from new to closed
  • component changed from default to OGR_SRS
  • milestone set to 1.4.3

The problem was specifically in the "old style ESRI prj" handling in ogr_srs_esri.cpp, and didn't require any changes to the new style .prj (WKT) handling.

I have modified it to clear the authority node created for stateplane coordinate systems if we end up altering the units from the default (r11734). I have also retrofit to 1.4 branch (r11735), and added a test in the test suite for this issue (r11733).

Note: See TracTickets for help on using tickets.