26 #ifndef __TERRALIB_T4_INTERNAL_UTILS_H
27 #define __TERRALIB_T4_INTERNAL_UTILS_H
35 #include "../common/Enums.h"
36 #include "../datatype/Enums.h"
37 #include "../datatype/Property.h"
38 #include "../geometry/Enums.h"
42 #include <terralib4/kernel/TeAttribute.h>
43 #include <terralib4/kernel/TeDatabase.h>
47 namespace da {
class DataSetType; }
48 namespace dt {
class Property; }
49 namespace gm {
class Envelope; }
50 namespace rst {
class RasterProperty; }
54 class TeDatabaseFactoryParams;
72 std::auto_ptr<te::dt::Property>
Convert2T5(
const TeAttributeRep& attRep);
107 std::auto_ptr<te::gm::Envelope>
Convert2T5(TeBox box);
109 std::auto_ptr<te::da::DataSetType>
Convert2T5(TeTable table);
126 #endif // __TERRALIB_T4_INTERNAL_UTILS_H
TeAttrDataType Convert2T4GeomType(te::gm::GeomType type)
GeomType
Each enumerated type is compatible with a Well-known Binary (WKB) type code.
Configuration flags for the TerraLib 4 driver.
std::auto_ptr< te::dt::Property > Convert2T5(const TeAttributeRep &attRep)
It creates a valid TerraLib 5 property given a valid TerraLib 4.x attribute representation.
std::auto_ptr< TeDatabaseFactoryParams > Convert2T4DatabaseParams(const std::map< std::string, std::string > &dsInfo)
It converts a data source information to a TerraLib 4.x database params.
te::gm::GeomType Convert2T5GeomType(TeAttrDataType type)
void CheckDecimalSeparator(std::string &value)
#define TETERRALIB4EXPORT
You can use this macro in order to export/import classes and functions from this module.
TeAttrDataType Convert2T4(int type)
It converts a Terralib 5 data type to Terralib 4.x data type.