Ticket #2321 (closed defect: fixed)

Opened 5 months ago

Last modified 5 months ago

radii calculated wrong is ISIS3

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

Description

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.

corrected:

    /***********   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@usgs.gov

Change History

04/09/08 13:57:57 changed by warmerdam

  • keywords set to isis3.
  • status changed from new to closed.
  • resolution set to fixed.

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