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";
static const std::string sm_driverIdentifier
The GDAL driver identifier.
static void initialize()
It initializes the factory: the singleton instance will be registered in the abstract factory DataSou...
Configuration flags for the GDAL Driver of TerraLib.
This class represents Raster data.
std::map< std::string, std::string > getCapabilities() const
It return a map (string, string) containing all supported formats.
This is the concrete factory for GDAL rasters.
const std::string & getType() const
Returns the type (name) of this factory.
A rectified grid is the spatial support for raster data.
void getCreationalParameters(std::vector< std::pair< std::string, std::string > > ¶ms) const
It returns the list of parameters accepted as raster info.
This is the concrete factory for GDAL rasters.
An static class with global definitions for the TerraLib GDAL driver.
This is a class that represents a GDAL Raster.
Utilitary functions to access GDAL and match some of its concepts to TerraLib concepts.
#define TE_GDAL_DRIVER_IDENTIFIER
An abstract class for raster data strucutures.
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).
static RasterFactory * sm_factory
te::da::DataSourceCapabilities capabilities
te::rst::Raster * build()
Concrete factories (derived from this one) must implement this method in order to create objects...
static void finalize()
It finalizes the factory: the singleton instance will be destroyed and will be unregistered from the ...