The class for reprojecting geo data of the sensing equipment MSU-MR of the ERS satellite Meteor-M.  
 More...
#include <msuproj.h>
The class for reprojecting geo data of the sensing equipment MSU-MR of the ERS satellite Meteor-M. 
Uses GDAL (http://www.gdal.org/) to operate with rasters and SGP4 C++ library (https://www.danrw.com/public/sgp4/) to calculate geogrids. 
 
The enumiration for getVersion() method. 
| Enumerator | 
|---|
| VERSION_STRING  | 
 Return a version string.  
 | 
| VERSION_DATE  | 
 Return a version date.  
 | 
| VERSION_ARCH  | 
 Return a version architecture.  
 | 
 
 
      
        
          | unsigned int msumr::MSUProj::getGCPXSize  | 
          ( | 
           | ) | 
           const | 
        
      
 
A GCP grid X size getter method. 
- Returns
 - A number of points in a line of a GCP grid 
 
 
 
      
        
          | unsigned int msumr::MSUProj::getGCPXStep  | 
          ( | 
           | ) | 
           const | 
        
      
 
A GCP grid X step getter method. 
- Returns
 - A X step size of a GCP grid 
 
 
 
      
        
          | unsigned int msumr::MSUProj::getGCPYSize  | 
          ( | 
           | ) | 
           const | 
        
      
 
A GCP grid Y size getter method. 
- Returns
 - A number of lines of a GCP grid 
 
 
 
      
        
          | unsigned int msumr::MSUProj::getGCPYStep  | 
          ( | 
           | ) | 
           const | 
        
      
 
A GCP grid Y step getter method. 
- Returns
 - A Y step size of a GCP grid 
 
 
 
      
        
          | unsigned int msumr::MSUProj::getSrcXSize  | 
          ( | 
           | ) | 
           const | 
        
      
 
A source image X size getter method. 
- Returns
 - A number of pixels in a line of a source image 
 
 
 
      
        
          | unsigned int msumr::MSUProj::getSrcYSize  | 
          ( | 
           | ) | 
           const | 
        
      
 
A source image Y size getter method. 
- Returns
 - A number of lines of a source image 
 
 
 
      
        
          | const std::string msumr::MSUProj::getUTM  | 
          ( | 
           | ) | 
           const | 
        
      
 
A method of getting an UTM zone string. 
- Returns
 - A UTM zone string in format <hemisphere><zone number>. For example 'N38'. 
 
 
 
A method of getting version of MSUProj. 
- Parameters
 - 
  
    | type | - a type of a returning value:
- 0 - Get version number
 
- 1 - Get build date
 
- 2 - Get build architecture 
 
 
 | 
  
   
- Returns
 - Version value 
 
 
 
      
        
          | bool msumr::MSUProj::ifAddLogo  | 
          ( | 
           | ) | 
           const | 
        
      
 
Check if add logotype option is enabled. 
- Returns
 - Option state 
 
 
 
      
        
          | const msumr::RETURN_CODE msumr::MSUProj::readGCP  | 
          ( | 
          std::string  | 
          file | ) | 
           | 
        
      
 
A method of setting a GCP file. 
- Parameters
 - 
  
  
 
- Returns
 - Exit code MSUMR::RETURN_CODE:
- success - Successful reading of a GCP file
 
- errGCP - Error of reading of a GCP file 
 
 
 
 
      
        
          | void msumr::MSUProj::setAddLogo  | 
          ( | 
          bool  | 
          enabled | ) | 
           | 
        
      
 
Set add logotype option state. 
- Parameters
 - 
  
  
 
 
 
      
        
          | void msumr::MSUProj::setDst  | 
          ( | 
          std::string  | 
          file | ) | 
           | 
        
      
 
Amethod of setting a destination file name. 
- Parameters
 - 
  
    | file | A destination file name  | 
  
   
 
 
      
        
          | void msumr::MSUProj::setDstFormat  | 
          ( | 
          std::string  | 
          format | ) | 
           | 
        
      
 
A method of setting a destination file format. 
- Parameters
 - 
  
    | format | A destination file format | 
  
   
Select one of GDAL raster formats (http://www.gdal.org/formats_list.html) that supports creation. Default is 'GeoTiff'. 
 
 
      
        
          | void msumr::MSUProj::setPerimSize  | 
          ( | 
          const unsigned int &  | 
          perim | ) | 
           | 
        
      
 
A method of setting a maximum size of the pixel values interpolation block side. 
When warping we try to calculate the average pixel value from a block of near pixels. By default the maximal block size is 9x9.
Set a less size to increase the warping speed. Too small values will cause graininess and black areas. Too big will blur image. 
- Parameters
 - 
  
    | perim | A block side size in pixels  | 
  
   
 
 
      
        
          | const msumr::RETURN_CODE msumr::MSUProj::setSrc  | 
          ( | 
          std::string  | 
          file | ) | 
           | 
        
      
 
A method of setting a source raster file. 
- Parameters
 - 
  
  
 
- Returns
 - Exit code MSUMR::RETURN_CODE:
- success - Successful reading of a source file
 
- errSRC - Error of reading of a source file 
 
 
 
 
      
        
          | const msumr::RETURN_CODE msumr::MSUProj::warp  | 
          ( | 
          const bool &  | 
          useUTM = false,  | 
        
        
           | 
           | 
          const bool &  | 
          zerosAsND = false  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
A method of projecting of a MSU-MR frame. 
- Returns
 - Exit code MSUMR::RETURN_CODE:
- success - Successful projection
 
- errDST - Error of creation of a destination raster
 
- errSRC - A source image is not set
 
- errGCP - A source GCP grid is not set 
 
 
 
 
The documentation for this class was generated from the following files:
- /home/mentaljam/projects/c++/msuproj/src/msuproj/msuproj.h
 
- /home/mentaljam/projects/c++/msuproj/src/msuproj/msuproj.cpp