Ticket #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 |
| 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
Note: See
TracTickets for help on using
tickets.
