Changeset 14239

Show
Ignore:
Timestamp:
04/09/08 13:56:20 (3 months ago)
Author:
warmerdam
Message:

fix earth model, already in meters, not kilometers! (#2321)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/1.5/gdal/frmts/pds/isis3dataset.cpp

    r12888 r14239  
    144144        CPLError( CE_Failure, CPLE_FileIO,  
    145145                  "Failed to read %d bytes for tile %d,%d.", 
    146                   nBlockSize, nXBlock, nYBlock ); 
     146                  (int) nBlockSize, nXBlock, nYBlock ); 
    147147        return CE_Failure; 
    148148    } 
     
    495495    /***********   Grab SEMI-MAJOR ************/ 
    496496    semi_major =  
    497         atof(poDS->GetKeyword( "IsisCube.Mapping.EquatorialRadius")) * 1000.0
     497        atof(poDS->GetKeyword( "IsisCube.Mapping.EquatorialRadius"))
    498498 
    499499    /***********   Grab semi-minor ************/ 
    500500    semi_minor =  
    501         atof(poDS->GetKeyword( "IsisCube.Mapping.PolarRadius")) * 1000.0
     501        atof(poDS->GetKeyword( "IsisCube.Mapping.PolarRadius"))
    502502 
    503503    /***********   Grab CENTER_LAT ************/