26 #ifndef __TERRALIB_GDAL_INTERNAL_RASTER_H 27 #define __TERRALIB_GDAL_INTERNAL_RASTER_H 30 #include "../raster/Raster.h" 39 #include <gdal_priv.h> 103 std::map<std::string, std::string> getInfo()
const;
105 std::size_t getNumberOfBands()
const;
107 int getBandDataType(std::size_t i)
const;
118 GDALDataset* getGDALDataset()
const;
124 te::rst::Raster* resample(
int method,
int scale,
const std::map<std::string, std::string>& rinfo)
const;
131 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;
139 const std::vector<te::rst::BandProperty*> bands,
140 const std::map<std::string, std::string>& rinfo,
141 void* h,
void (*deleter)(
void*));
145 bool removeMultiResolution();
147 unsigned int getMultiResLevelsCount()
const;
160 Raster(
const unsigned int multiResolutionLevel,
const std::string& uRI,
167 void (*m_deleter)(
void*);
174 #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.
ScopedDataSetHandlePtr m_gdatasetHandle
Gdal data set handler.
InterpolationMethod
Allowed interpolation methods.
AccessPolicy
Supported data access policies (can be used as bitfield).
std::unique_ptr< ScopedDataSetHandle > ScopedDataSetHandlePtr
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::unique_ptr< DataSetUseCounter > m_dsUseCounterPtr
Dataset use counter pointer.
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.