26 #ifndef __TERRALIB_GPKG_INTERNAL_UTILS_H 27 #define __TERRALIB_GPKG_INTERNAL_UTILS_H 30 #include "../Config.h" 31 #include "../../../../srs/Config.h" 39 class OGRSpatialReference;
250 #endif // __TERRALIB_GPKG_INTERNAL_UTILS_H TERRAMOBILEPLUGINSDLLEXPORT OGRSpatialReference * Convert2OGRProjection(int srid)
It converts the TerraLib Projection to OGR Projection.
GeomType
Each enumerated type is compatible with a Well-known Binary (WKB) type code.
TERRAMOBILEPLUGINSDLLEXPORT void copyToGeopackage(te::rst::Raster *raster, std::string outFileName)
TERRAMOBILEPLUGINSDLLEXPORT OGRwkbGeometryType Convert2OGR(te::gm::GeomType geomType)
It converts the TerraLib Geometry Type element to OGR Geometry Type.
TERRAMOBILEPLUGINSDLLEXPORT std::vector< std::string > GetOGRDrivers(bool filterCreate=false)
It returns the list of OGR Drivers available.
A class that models the description of a dataset.
It models a property definition.
TERRAMOBILEPLUGINSDLLEXPORT std::string RemoveSpatialSql(const std::string &sql)
An Envelope defines a 2D rectangular region.
#define TE_UNKNOWN_SRS
A numeric value to represent a unknown SRS identification in TerraLib.
An abstract class for raster data strucutures.
Geometry is the root class of the geometries hierarchy, it follows OGC and ISO standards.
#define TERRAMOBILEPLUGINSDLLEXPORT
TERRAMOBILEPLUGINSDLLEXPORT std::string GetOGRConnectionInfo(const std::map< std::string, std::string > &connInfo)
std::string GetDriverName(const std::string &path)
It tries extract the driver name used by OGR Library based on the given path.
std::auto_ptr< te::da::DataSource > createGeopackage(std::string gpkgName)
TERRAMOBILEPLUGINSDLLEXPORT int Convert2TerraLibProjection(OGRSpatialReference *osrs)
It converts the OGR Projection to TerraLib Projection.