Ticket #2575 (closed defect: fixed)

Opened 5 years ago

Last modified 5 years ago

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

Changed 5 years ago by warmerdam

  • status changed from new to assigned
  • milestone set to 1.5.3

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.

Changed 5 years ago by warmerdam

  • keywords morph srs added
  • component changed from GDAL_Raster to OGR_SRS

Changed 5 years ago by warmerdam

  • status changed from assigned to closed
  • resolution set to fixed

Changes merged into 1.5 branch (r15403).

Changed 5 years ago by warmerdam

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

Note: See TracTickets for help on using tickets.