Ticket #2321 (closed defect: fixed)

Opened 4 years ago

Last modified 4 years ago

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
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@…

Change History

Changed 4 years ago by warmerdam

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

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

Note: See TracTickets for help on using tickets.