Class with methods to manage and manipulate rasters.
More...
#include <RasterManager.h>
|
bool | changeResolution (std::string output, int method, int scale, std::string &errorMessage) |
| Change Raster resolution. More...
|
|
bool | convert (std::string output, std::string extension, std::vector< int > bandVec, std::string &errorMessage) |
| Convert a raster. More...
|
|
bool | copyRaster (std::string output, std::vector< int > bandVec, int bandType, std::string &errorMessage) |
| Copy a raster. More...
|
|
bool | getRasterInfo (std::ostringstream &output, std::string &errorMessage) |
| Show raster informations. More...
|
|
bool | getSupportedExtensions (std::vector< std::string > &extents, std::string &errorMessage) |
| Get Supported Extensions. More...
|
|
bool | init (std::string input, std::string &errorMessage) |
| Init the application. More...
|
|
| RasterManager () |
|
bool | reproject (std::string output, int srid, std::string &errorMessage) |
| Reproject a raster. More...
|
|
bool | showSupportedExtensions (std::string &errorMessage) |
| Show Supported Extensions. More...
|
|
bool | trim (std::string output, std::vector< double > env, std::string &errorMessage) |
| Trim a raster. More...
|
|
Class with methods to manage and manipulate rasters.
Definition at line 44 of file RasterManager.h.
te::tools::rastermanager::RasterManager::RasterManager |
( |
| ) |
|
bool te::tools::rastermanager::RasterManager::changeResolution |
( |
std::string |
output, |
|
|
int |
method, |
|
|
int |
scale, |
|
|
std::string & |
errorMessage |
|
) |
| |
Change Raster resolution.
- Parameters
-
output | Output raster path |
method | Integer with the method used to change the resolution 1 for Nearest Neighbor method 2 for Bilinear method 3 for Bicubic method |
errorMessage | String that receive methods errors description |
- Returns
- True if successfully
bool te::tools::rastermanager::RasterManager::convert |
( |
std::string |
output, |
|
|
std::string |
extension, |
|
|
std::vector< int > |
bandVec, |
|
|
std::string & |
errorMessage |
|
) |
| |
Convert a raster.
- Parameters
-
output | Output raster path |
extension | String with the extrenson to convert |
bandVec | Integer vector with the bands to copy |
errorMessage | String that receive methods errors description |
- Returns
- True if successfully
bool te::tools::rastermanager::RasterManager::copyRaster |
( |
std::string |
output, |
|
|
std::vector< int > |
bandVec, |
|
|
int |
bandType, |
|
|
std::string & |
errorMessage |
|
) |
| |
Copy a raster.
- Parameters
-
output | Output raster path |
bandVec | Integer vector with the bands to copy |
bandType | Define witch type the output raster will have |
errorMessage | String that receive methods errors description |
- Returns
- True if successfully
bool te::tools::rastermanager::RasterManager::getRasterInfo |
( |
std::ostringstream & |
output, |
|
|
std::string & |
errorMessage |
|
) |
| |
Show raster informations.
- Parameters
-
output | Buffer with the informations |
errorMessage | String that receive methods errors description |
- Returns
- True if successfully
bool te::tools::rastermanager::RasterManager::getSupportedExtensions |
( |
std::vector< std::string > & |
extents, |
|
|
std::string & |
errorMessage |
|
) |
| |
Get Supported Extensions.
- Parameters
-
extents | String vector with the supported extensions |
errorMessage | String that receive methods errors description |
- Returns
- True if successfully
bool te::tools::rastermanager::RasterManager::init |
( |
std::string |
input, |
|
|
std::string & |
errorMessage |
|
) |
| |
Init the application.
- Parameters
-
input | Input raster path |
errorMessage | String that receive methods errors description |
- Returns
- True if successfully
bool te::tools::rastermanager::RasterManager::reproject |
( |
std::string |
output, |
|
|
int |
srid, |
|
|
std::string & |
errorMessage |
|
) |
| |
Reproject a raster.
- Parameters
-
output | Output raster path |
srid | Srid code to resproject |
errorMessage | String that receive methods errors description |
- Returns
- True if successfully
bool te::tools::rastermanager::RasterManager::showSupportedExtensions |
( |
std::string & |
errorMessage | ) |
|
Show Supported Extensions.
- Parameters
-
errorMessage | String that receive methods errors description |
- Returns
- True if successfully
bool te::tools::rastermanager::RasterManager::trim |
( |
std::string |
output, |
|
|
std::vector< double > |
env, |
|
|
std::string & |
errorMessage |
|
) |
| |
Trim a raster.
- Parameters
-
output | Output raster path |
env | Double vector with the new envelope (box) |
errorMessage | String that receive methods errors description |
- Returns
- True if successfully
std::string te::tools::rastermanager::RasterManager::m_input |
|
private |
bool te::tools::rastermanager::RasterManager::m_loadPlugin |
|
private |
The documentation for this class was generated from the following file:
- /home/castejon/castejon_files/develop/terralib5/git_master/terralib5/src/terralib/tools/rastermanager/core/RasterManager.h