26 #ifndef __TERRALIB_TOOLS_RASTERMANAGER_RASTERMANAGER_H 
   27 #define __TERRALIB_TOOLS_RASTERMANAGER_RASTERMANAGER_H 
   37     namespace rastermanager
 
   58           bool init(std::string input, std::string & errorMessage);
 
   70           bool copyRaster(std::string output, std::vector<int> bandVec, 
int bandType, std::string & errorMessage);    
 
   80           bool getRasterInfo(std::ostringstream & output, std::string & errorMessage);
 
   91           bool reproject(std::string output, 
int srid, std::string & errorMessage);
 
  103           bool convert(std::string output, std::string extension, std::vector<int> bandVec, std::string & errorMessage);
 
  117           bool changeResolution(std::string output, 
int method,
int scale, std::string & errorMessage);
 
  128           bool trim(std::string output, std::vector<double> env, std::string & errorMessage);
 
  159 #endif // __TERRALIB_TOOLS_RASTERMANAGER_RASTERMANAGER_H 
bool copyRaster(std::string output, std::vector< int > bandVec, int bandType, std::string &errorMessage)
Copy a raster. 
 
Class with methods to manage and manipulate rasters. 
 
std::string m_input
The input raster path. 
 
bool getSupportedExtensions(std::vector< std::string > &extents, std::string &errorMessage)
Get Supported Extensions. 
 
bool changeResolution(std::string output, int method, int scale, std::string &errorMessage)
Change Raster resolution. 
 
bool getRasterInfo(std::ostringstream &output, std::string &errorMessage)
Show raster informations. 
 
bool showSupportedExtensions(std::string &errorMessage)
Show Supported Extensions. 
 
bool reproject(std::string output, int srid, std::string &errorMessage)
Reproject a raster. 
 
bool trim(std::string output, std::vector< double > env, std::string &errorMessage)
Trim a raster. 
 
bool convert(std::string output, std::string extension, std::vector< int > bandVec, std::string &errorMessage)
Convert a raster. 
 
bool init(std::string input, std::string &errorMessage)
Init the application.