26 #ifndef __TERRALIB_GDAL_INTERNAL_RASTER_H
27 #define __TERRALIB_GDAL_INTERNAL_RASTER_H
30 #include "../raster/Raster.h"
38 #include <gdal_priv.h>
100 std::map<std::string, std::string> getInfo()
const;
102 std::size_t getNumberOfBands()
const;
104 int getBandDataType(std::size_t i)
const;
115 GDALDataset* getGDALDataset()
const;
121 te::rst::Raster* resample(
int method,
int scale,
const std::map<std::string, std::string>& rinfo)
const;
128 te::rst::Raster* transform(
int srid,
double llx,
double lly,
double urx,
double ury,
double resx,
double resy,
const std::map<std::string, std::string>& rinfo,
int m = 0)
const;
136 const std::vector<te::rst::BandProperty*> bands,
137 const std::map<std::string, std::string>& rinfo,
138 void* h,
void (*deleter)(
void*));
142 bool removeMultiResolution();
144 unsigned int getMultiResLevelsCount()
const;
157 Raster(
const unsigned int multiResolutionLevel,
const std::string& uRI,
164 void (*m_deleter)(
void*);
171 #endif // __TERRALIB_GDAL_INTERNAL_RASTER_H
This class represents Raster data.
It gives access to values in one band (dimension) of a raster.
#define TEGDALEXPORT
You can use this macro in order to export/import classes and functions from this module.
InterpolationMethod
Allowed interpolation methods.
GDALDataset * m_gdataset
Gdal data set handler.
AccessPolicy
Supported data access policies (can be used as bitfield).
std::auto_ptr< DataSetUseCounter > m_dsUseCounterPtr
Dataset use counter pointer.
An abstract class for raster data strucutures.
std::string m_myURI
This instance URI;.
A base class for values that can be retrieved from the data access module.
A raster band description.
std::vector< Band * > m_bands
The vector of available bands in the raster.
A rectified grid is the spatial support for raster data.
Configuration flags for the GDAL Driver of TerraLib.