Utilitary functions for dealing with TerraLib 5 and 4.x conversion. More...
#include <map>
#include <memory>
#include <string>
#include "../common/Enums.h"
#include "../datatype/Enums.h"
#include "../datatype/Property.h"
#include "../geometry/Enums.h"
#include "Config.h"
#include <terralib4/kernel/TeAttribute.h>
#include <terralib4/kernel/TeDatabase.h>
Go to the source code of this file.
Namespaces | |
te | |
TerraLib. | |
te::da | |
Namespace for the DataAccess API of TerraLib. | |
te::dt | |
Namespace for the Data Type module of TerraLib. | |
te::gm | |
Namespace for the Vector Geometry module of TerraLib. | |
te::rst | |
Namespace for the Raster module of TerraLib. | |
terralib4 | |
Functions | |
void | terralib4::CheckDecimalSeparator (std::string &value) |
TETERRALIB4EXPORT std::string | terralib4::Convert2Latin1 (const std::string &str) |
TeAttrDataType | terralib4::Convert2T4 (int type) |
It converts a Terralib 5 data type to Terralib 4.x data type. More... | |
std::unique_ptr< TeDatabaseFactoryParams > | terralib4::Convert2T4DatabaseParams (const std::string &dsInfo) |
It converts a data source information to a TerraLib 4.x database params. More... | |
TeAttrDataType | terralib4::Convert2T4GeomType (te::gm::GeomType type) |
std::unique_ptr< te::dt::Property > | terralib4::Convert2T5 (const TeAttributeRep &attRep) |
It creates a valid TerraLib 5 property given a valid TerraLib 4.x attribute representation. More... | |
TETERRALIB4EXPORT int | terralib4::Convert2T5 (TeAttrDataType type) |
It converts a Terralib 4.x data type to Terralib 5 data type. More... | |
std::unique_ptr< te::gm::Envelope > | terralib4::Convert2T5 (TeBox box) |
int | terralib4::Convert2T5 (TeDataType dt) |
te::rst::RasterProperty * | terralib4::Convert2T5 (TeRasterParams &rparams) |
std::unique_ptr< te::da::DataSetType > | terralib4::Convert2T5 (TeTable table) |
te::gm::GeomType | terralib4::Convert2T5GeomType (TeAttrDataType type) |
TETERRALIB4EXPORT te::gm::GeomType | terralib4::Convert2T5GeomType (TeGeomRep type) |
It converts a Terralib 4.x data type to Terralib 5 data type. More... | |
TETERRALIB4EXPORT std::string | terralib4::Convert2Utf8 (const std::string &str) |
te::gm::GeomType | terralib4::GetCollection (TeGeomRep rep) |
te::gm::GeomType | terralib4::GetMinimalRepresentation (const std::vector< TeGeometry * > &geoms) |