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"
41 #include <terralib/kernel/TeAttribute.h>
42 #include <terralib/kernel/TeDatabase.h>
46 namespace da {
class DataSetType; }
47 namespace dt {
class Property; }
48 namespace gm {
class Envelope; }
49 namespace rst {
class RasterProperty; }
53 class TeDatabaseFactoryParams;
71 std::auto_ptr<te::dt::Property>
Convert2T5(
const TeAttributeRep& attRep);
106 std::auto_ptr<te::gm::Envelope>
Convert2T5(TeBox box);
108 std::auto_ptr<te::da::DataSetType>
Convert2T5(TeTable table);
123 #endif // __TERRALIB_T4_INTERNAL_UTILS_H
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.
TeAttrDataType Convert2T4GeomType(te::gm::GeomType type)
te::gm::GeomType Convert2T5GeomType(TeAttrDataType type)
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.
GeomType
Each enumerated type is compatible with a Well-known Binary (WKB) type code.
TeAttrDataType Convert2T4(int type)
It converts a Terralib 5 data type to Terralib 4.x data type.