26 #ifndef __TERRALIB_GDAL_INTERNAL_RASTER_H
27 #define __TERRALIB_GDAL_INTERNAL_RASTER_H
30 #include "../raster/Raster.h"
38 #include <gdal_priv.h>
102 std::map<std::string, std::string> getInfo()
const;
104 std::size_t getNumberOfBands()
const;
106 int getBandDataType(std::size_t i)
const;
117 GDALDataset* getGDALDataset()
const;
123 te::rst::Raster* resample(
int method,
int scale,
const std::map<std::string, std::string>& rinfo)
const;
130 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;
138 const std::vector<te::rst::BandProperty*> bands,
139 const std::map<std::string, std::string>& rinfo,
140 void* h,
void (*deleter)(
void*));
144 bool removeMultiResolution();
146 unsigned int getMultiResLevelsCount()
const;
159 Raster(
const unsigned int multiResolutionLevel,
const std::string& uRI,
166 void (*m_deleter)(
void*);
173 #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.
virtual Raster * transform(int srid, const std::map< std::string, std::string > &rinfo, int m=1) const
Reprojects this raster to a distinct SRS. This method reprojects this raster to a distinct SRS...
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.