Opened 12 years ago

Closed 12 years ago

#2321 closed defect (fixed)

radii calculated wrong is ISIS3

Reported by: thare Owned by: warmerdam
Priority: high Milestone: 1.5.2
Component: GDAL_Raster Version: 1.5.1
Severity: major Keywords: isis3


Not sure how I missed this but the ISIS3 reader is applying a 1000.0 offset for the radii values. By default ISIS3 holds these values correctly as meters so no mult needs to be applied.

~line 497 and 501 need to have the "* 1000.0" removed.


    /***********   Grab SEMI-MAJOR ************/
    semi_major = 
        atof(poDS->GetKeyword( "IsisCube.Mapping.EquatorialRadius"));

    /***********   Grab semi-minor ************/
    semi_minor = 
        atof(poDS->GetKeyword( "IsisCube.Mapping.PolarRadius"));

thanks, Trent thare@…

Change History (1)

comment:1 Changed 12 years ago by warmerdam

Keywords: isis3 added
Resolution: fixed
Status: newclosed

Fixed in trunk (r14238) and 1.5 branch (r14239). Autotest fixed in trunk (r14240).

Note: See TracTickets for help on using tickets.