27 #include "../raster/Grid.h" 
   67   std::auto_ptr<Raster> raster(
new Raster);
 
   69   raster->create(g, bands, rinfo, h, deleter);
 
   71   return raster.release();
 
   83   capabilities[
"supported_formats"] = 
"tif,jpg,png,hdf";
 
te::rst::Raster * create(te::rst::Grid *g, const std::vector< te::rst::BandProperty * > bands, const std::map< std::string, std::string > &rinfo, void *h=0, void(*deleter)(void *)=0)
This method must be implemented by subclasses (raster drivers). 
 
This is a class that represents a GDAL Raster. 
 
static RasterFactory * sm_factory
 
Utilitary functions to access GDAL and match some of its concepts to TerraLib concepts. 
 
This class represents Raster data. 
 
static void initialize()
It initializes the factory: the singleton instance will be registered in the abstract factory DataSou...
 
#define TE_GDAL_DRIVER_IDENTIFIER
 
This is the concrete factory for GDAL rasters. 
 
An abstract class for raster data strucutures. 
 
te::da::DataSourceCapabilities capabilities
 
An static class with global definitions for the TerraLib GDAL driver. 
 
void getCreationalParameters(std::vector< std::pair< std::string, std::string > > ¶ms) const 
It returns the list of parameters accepted as raster info. 
 
std::map< std::string, std::string > getCapabilities() const 
It return a map (string, string) containing all supported formats. 
 
static const std::string sm_driverIdentifier
The GDAL driver identifier. 
 
This is the concrete factory for GDAL rasters. 
 
te::rst::Raster * build()
Concrete factories (derived from this one) must implement this method in order to create objects...
 
const std::string & getType() const 
Returns the type (name) of this factory. 
 
static void finalize()
It finalizes the factory: the singleton instance will be destroyed and will be unregistered from the ...
 
A rectified grid is the spatial support for raster data. 
 
Configuration flags for the GDAL Driver of TerraLib.