terralib4 Namespace Reference

Classes

class  Band
 
class  DataSource
 
class  GeomReader
 
class  Globals
 An static class with global definitions. More...
 
class  Module
 
class  Raster
 
class  RasterDataSet
 
class  TableDataSet
 Implementation of a dataset for the TerraLib 4 driver. More...
 
struct  ThemeInfo
 
class  Transactor
 
class  VectorDataSet
 Implementation of a dataset for the TerraLib 4 driver. More...
 

Functions

te::da::DataSourceBuild (const te::core::URI &uri)
 
void CheckDecimalSeparator (std::string &value)
 
TETERRALIB4EXPORT std::string Convert2Latin1 (const std::string &str)
 
TeAttrDataType Convert2T4 (int type)
 It converts a Terralib 5 data type to Terralib 4.x data type. More...
 
std::unique_ptr< TeDatabaseFactoryParams > Convert2T4DatabaseParams (const std::string &dsInfo)
 It converts a data source information to a TerraLib 4.x database params. More...
 
TeAttrDataType Convert2T4GeomType (te::gm::GeomType type)
 
std::unique_ptr< te::dt::PropertyConvert2T5 (const TeAttributeRep &attRep)
 It creates a valid TerraLib 5 property given a valid TerraLib 4.x attribute representation. More...
 
TETERRALIB4EXPORT int Convert2T5 (TeAttrDataType type)
 It converts a Terralib 4.x data type to Terralib 5 data type. More...
 
int Convert2T5 (TeDataType dt)
 
std::unique_ptr< te::gm::EnvelopeConvert2T5 (TeBox box)
 
std::unique_ptr< te::da::DataSetTypeConvert2T5 (TeTable table)
 
te::rst::RasterPropertyConvert2T5 (TeRasterParams &rparams)
 
te::gm::GeomType Convert2T5GeomType (TeAttrDataType type)
 
TETERRALIB4EXPORT te::gm::GeomType Convert2T5GeomType (TeGeomRep type)
 It converts a Terralib 4.x data type to Terralib 5 data type. More...
 
TETERRALIB4EXPORT std::string Convert2Utf8 (const std::string &str)
 
te::gm::GeomType GetCollection (TeGeomRep rep)
 
te::gm::GeomType GetMinimalRepresentation (const std::vector< TeGeometry *> &geoms)
 

Function Documentation

◆ Build()

te::da::DataSource* terralib4::Build ( const te::core::URI uri)

◆ CheckDecimalSeparator()

void terralib4::CheckDecimalSeparator ( std::string &  value)

◆ Convert2Latin1()

TETERRALIB4EXPORT std::string terralib4::Convert2Latin1 ( const std::string &  str)

◆ Convert2T4()

TeAttrDataType terralib4::Convert2T4 ( int  type)

It converts a Terralib 5 data type to Terralib 4.x data type.

Parameters
typeThe type to convert.
Returns
A TerraLib 4.x data type.

◆ Convert2T4DatabaseParams()

std::unique_ptr<TeDatabaseFactoryParams> terralib4::Convert2T4DatabaseParams ( const std::string &  dsInfo)

It converts a data source information to a TerraLib 4.x database params.

Parameters
dsInfoThe data source information to be converted to a TerraLib 4.x database params.
Returns
A TerraLib 4.x database params.

◆ Convert2T4GeomType()

TeAttrDataType terralib4::Convert2T4GeomType ( te::gm::GeomType  type)

◆ Convert2T5() [1/6]

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.

Parameters
attRepA TerraLib 3 data type.
Returns
The TerraLib 5 equivalent property.
Exceptions
ExceptionIt throws an exception if a type cannot be conveted to TerraLib 5 datatype system.
Note
The returned PropertyType will not have an identification number, it is the caller responsability to set one.

◆ Convert2T5() [2/6]

TETERRALIB4EXPORT int terralib4::Convert2T5 ( TeAttrDataType  type)

It converts a Terralib 4.x data type to Terralib 5 data type.

Parameters
typeThe type to convert.
Returns
A TerraLib 5 data type.

◆ Convert2T5() [3/6]

int terralib4::Convert2T5 ( TeDataType  dt)

◆ Convert2T5() [4/6]

std::unique_ptr<te::gm::Envelope> terralib4::Convert2T5 ( TeBox  box)

◆ Convert2T5() [5/6]

std::unique_ptr<te::da::DataSetType> terralib4::Convert2T5 ( TeTable  table)

◆ Convert2T5() [6/6]

te::rst::RasterProperty* terralib4::Convert2T5 ( TeRasterParams &  rparams)

◆ Convert2T5GeomType() [1/2]

te::gm::GeomType terralib4::Convert2T5GeomType ( TeAttrDataType  type)

◆ Convert2T5GeomType() [2/2]

TETERRALIB4EXPORT te::gm::GeomType terralib4::Convert2T5GeomType ( TeGeomRep  type)

It converts a Terralib 4.x data type to Terralib 5 data type.

Parameters
typeThe type to convert.
Returns
A TerraLib 5 data type.

◆ Convert2Utf8()

TETERRALIB4EXPORT std::string terralib4::Convert2Utf8 ( const std::string &  str)

◆ GetCollection()

te::gm::GeomType terralib4::GetCollection ( TeGeomRep  rep)

◆ GetMinimalRepresentation()

te::gm::GeomType terralib4::GetMinimalRepresentation ( const std::vector< TeGeometry *> &  geoms)