Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#2575 closed defect (fixed)

Unrecognized PARAMETER in ESRI PE string

Reported by: gaopeng Owned by: warmerdam
Priority: normal Milestone: 1.5.3
Component: OGR_SRS Version: 1.5.2
Severity: normal Keywords: morph srs
Cc:

Description

When the following PE string goes through morphFromESRI(), a new parameter, PARAMETER["rectified_grid_angle",90], is added, see GDAL WKT. But ESRI projection engine, PE, doesn't recognize the parameter, and results in an error.

PE:

PROJCS["Bern_1898_Bern_LV03C",GEOGCS["GCS_Bern_1898_Bern",DATUM["D_Bern_1898",SPHEROID["Bessel_1841",6377397.155,299.1528128]],PRIMEM["Bern",7.439583333333333],UNIT["Degree",0.0174532925199433]],PROJECTIONHotine_Oblique_Mercator_Azimuth_Center,PARAMETER["False_Easting",0.0],PARAMETER["False_Northing",0.0],PARAMETER["Scale_Factor",1.0],PARAMETER["Azimuth",90.0],PARAMETER["Longitude_Of_Center",0.0],PARAMETER["Latitude_Of_Center",46.95240555555556],UNIT["Meter",1.0]] GDAL WKT:

PROJCS["Bern_1898_Bern_LV03C",GEOGCS["GCS_Bern_1898_Bern",DATUM["D_Bern_1898",SPHEROID["Bessel_1841",6377397.155,299.1528128]],PRIMEM["Bern",7.439583333333333],UNIT["Degree",0.0174532925199433]],PROJECTIONHotine_Oblique_Mercator_Azimuth_Center,PARAMETER["False_Easting",0.0],PARAMETER["False_Northing",0.0],PARAMETER["Scale_Factor",1.0],PARAMETER["Azimuth",90.0],PARAMETER["Longitude_Of_Center",0.0],PARAMETER["Latitude_Of_Center",46.95240555555556],PARAMETER["rectified_grid_angle",90],UNIT["Meter",1.0]]

Change History (4)

comment:1 by warmerdam, 16 years ago

Milestone: 1.5.3
Status: newassigned

I have modified the morphToESRI() code to strip the rectified_grid_angle parameter in trunk (r15398). I also added a test for this code in autotest (r15397).

I have not yet ported back to 1.5 branch ... I need a better dev environment to pull that off.

comment:2 by warmerdam, 16 years ago

Component: GDAL_RasterOGR_SRS
Keywords: morph srs added

comment:3 by warmerdam, 16 years ago

Resolution: fixed
Status: assignedclosed

Changes merged into 1.5 branch (r15403).

comment:4 by warmerdam, 16 years ago

r15411 (trunk) and r15413 (1.5 branch) fix an error I introduced in this change.

Note: See TracTickets for help on using tickets.