Opened 13 years ago

Closed 13 years ago

#35 closed defect (wontfix)

should CT_Mercator fallback to looking for ProjStdParallel1GeoKey?

Reported by: warmerdam Owned by: warmerdam
Priority: normal Milestone:
Component: libgeotiff Version:
Keywords: Cc: esrixz

Description

The GDAL 1.8-esri branch has the following in gt_wkt_srs.cpp:

          case CT_Mercator:
            if(adfParm[0] == 0.0)
            {
              double v;
              if( GTIFKeyGet(hGTIF, ProjStdParallel1GeoKey, &v, 0, 1 ) )
                adfParm[0] = v;
            }
            oSRS.SetMercator( adfParm[0], adfParm[1],
                              adfParm[4],
                              adfParm[5], adfParm[6] );

The implication is that ProjStdParallel1 ought to be treated as a fallback for ProjNatOriginLatGeoKey in GTIFFFetchProjParms() in geo_normalize.c. Setting up this ticket to consider this.

Change History (1)

comment:1 by warmerdam, 13 years ago

Resolution: wontfix
Status: newclosed

I have reviewed this and decide not to pursue this without some justification.

Note: See TracTickets for help on using tickets.