Opened 12 years ago

Closed 12 years ago

#4589 closed defect (fixed)

EPSG:4088 uses a projection method which is not supported by GDAL/OGR

Reported by: forHonor Owned by: warmerdam
Priority: normal Milestone: 1.9.1
Component: OGR_SRS Version: unspecified
Severity: normal Keywords:
Cc:

Description

When using ogr2ogr to transform projection to EPSG 4088 it doesn't work.

Output from "gdalsrsinfo --debug on EPSG:4088":

gdalsrsinfo: got arg #1 : [EPSG:4088] gdalsrsinfo: trying to get SRS from user input [EPSG:4088] EPSG: No WKT support for projection method 1029. gdalsrsinfo: did not get SRS from user input gdalsrsinfo: bGotSRS: 0 bValidate: 0 pszOutputType: default bPretty: 0 ERROR 1: ERROR - failed to load SRS definition from EPSG:4088

Change History (1)

comment:1 by warmerdam, 12 years ago

Component: defaultOGR_SRS
Milestone: 1.9.1
Resolution: fixed
Status: newclosed

I have updated the fromepsg code to handle 1028 and 1029 (ellipsoidal and spherical Equidistant Cylindrical) via SetEquirectangular(). Arguable 9825 should also be handled this way but it seems to be used with linear units of degrees and doesn't map well into how we handle projected coordinate systems well so I have not done it.

Change in trunk (r24168) and 1.9 (r24169).

Note: See TracTickets for help on using tickets.