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::DataSource * | Build (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::Property > | Convert2T5 (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::Envelope > | Convert2T5 (TeBox box) |
| std::unique_ptr< te::da::DataSetType > | Convert2T5 (TeTable table) |
| te::rst::RasterProperty * | Convert2T5 (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) |
| te::da::DataSource * terralib4::Build | ( | const te::core::URI & | uri | ) |
Definition at line 29 of file src/terralib/terralib4/DataSourceFactory.cpp.
References DataSource(), and ds.
Referenced by terralib4::Module::startup().
| void terralib4::CheckDecimalSeparator | ( | std::string & | value | ) |
Definition at line 449 of file src/terralib/terralib4/Utils.cpp.
Referenced by terralib4::VectorDataSet::getDouble(), and terralib4::VectorDataSet::getNumeric().
| std::string terralib4::Convert2Latin1 | ( | const std::string & | str | ) |
Definition at line 538 of file src/terralib/terralib4/Utils.cpp.
References te::core::CharEncoding::fromUTF8(), and te::core::LATIN1.
Referenced by terralib4::Transactor::addProperty(), Convert2T4DatabaseParams(), terralib4::Transactor::getDataSet(), terralib4::Transactor::getDataSetType(), terralib4::DataSource::open(), and terralib4::TableDataSet::TableDataSet().
| TeAttrDataType terralib4::Convert2T4 | ( | int | type | ) |
It converts a Terralib 5 data type to Terralib 4.x data type.
| type | The type to convert. |
Definition at line 300 of file src/terralib/terralib4/Utils.cpp.
References te::dt::BOOLEAN_TYPE, te::dt::BYTE_ARRAY_TYPE, te::dt::CHAR_TYPE, te::dt::DATETIME_TYPE, te::dt::DOUBLE_TYPE, te::dt::INT16_TYPE, te::dt::INT32_TYPE, te::dt::INT64_TYPE, te::dt::NUMERIC_TYPE, te::dt::RASTER_TYPE, te::dt::STRING_TYPE, te::dt::UINT16_TYPE, te::dt::UINT32_TYPE, te::dt::UINT64_TYPE, and te::dt::UNKNOWN_TYPE.
Referenced by terralib4::Transactor::addProperty().
| std::unique_ptr< TeDatabaseFactoryParams > terralib4::Convert2T4DatabaseParams | ( | const std::string & | dsInfo | ) |
It converts a data source information to a TerraLib 4.x database params.
| dsInfo | The data source information to be converted to a TerraLib 4.x database params. |
Definition at line 136 of file src/terralib/terralib4/Utils.cpp.
References Convert2Latin1(), te::core::Expand(), te::core::URI::host(), te::core::URI::isValid(), te::core::URI::password(), te::core::URI::path(), te::core::URI::query(), and te::core::URI::user().
Referenced by terralib4::DataSource::getDataSourceNames().
| TeAttrDataType terralib4::Convert2T4GeomType | ( | te::gm::GeomType | type | ) |
Definition at line 342 of file src/terralib/terralib4/Utils.cpp.
References te::gm::LineStringType, te::gm::MultiLineStringType, te::gm::MultiPointType, te::gm::MultiPolygonType, te::gm::PointType, and te::gm::PolygonType.
Referenced by terralib4::Transactor::addProperty().
| 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.
| attRep | A TerraLib 3 data type. |
| Exception | It throws an exception if a type cannot be conveted to TerraLib 5 datatype system. |
Definition at line 56 of file src/terralib/terralib4/Utils.cpp.
References te::dt::BOOLEAN_TYPE, te::dt::BYTE_ARRAY_TYPE, te::dt::CHAR_TYPE, Convert2Utf8(), te::dt::DOUBLE_TYPE, te::dt::INT32_TYPE, te::gm::LineStringType, te::gm::MultiLineStringType, te::gm::MultiPointType, te::gm::MultiPolygonType, te::gm::PointType, te::gm::PolygonType, te::common::ReplaceSpecialChars(), te::dt::STRING, TE_TR, te::dt::TIME_INSTANT, te::dt::UINT32_TYPE, te::dt::UNKNOWN_TYPE, and te::dt::VAR_STRING.
Referenced by Convert2T5(), terralib4::Raster::getBandDataType(), terralib4::Transactor::getDataSetType(), terralib4::RasterDataSet::getExtent(), terralib4::VectorDataSet::getExtent(), te::qt::plugins::terralib4::GetGrouping(), terralib4::Raster::Raster(), terralib4::TableDataSet::TableDataSet(), and terralib4::VectorDataSet::VectorDataSet().
| int terralib4::Convert2T5 | ( | TeAttrDataType | type | ) |
It converts a Terralib 4.x data type to Terralib 5 data type.
| type | The type to convert. |
Definition at line 158 of file src/terralib/terralib4/Utils.cpp.
References te::dt::BOOLEAN_TYPE, te::dt::BYTE_ARRAY_TYPE, te::dt::CHAR_TYPE, te::dt::DATETIME_TYPE, te::dt::DOUBLE_TYPE, te::dt::GEOMETRY_TYPE, te::dt::INT32_TYPE, te::dt::RASTER_TYPE, te::dt::STRING_TYPE, te::dt::UINT32_TYPE, and te::dt::UNKNOWN_TYPE.
| int terralib4::Convert2T5 | ( | TeDataType | dt | ) |
Definition at line 261 of file src/terralib/terralib4/Utils.cpp.
References te::dt::BIT_TYPE, te::dt::CHAR_TYPE, te::dt::DOUBLE_TYPE, te::dt::FLOAT_TYPE, te::dt::INT16_TYPE, te::dt::INT32_TYPE, te::dt::UCHAR_TYPE, te::dt::UINT16_TYPE, te::dt::UINT32_TYPE, and te::dt::UNKNOWN_TYPE.
| std::unique_ptr< te::gm::Envelope > terralib4::Convert2T5 | ( | TeBox | box | ) |
Definition at line 369 of file src/terralib/terralib4/Utils.cpp.
| std::unique_ptr< te::da::DataSetType > terralib4::Convert2T5 | ( | TeTable | table | ) |
Definition at line 376 of file src/terralib/terralib4/Utils.cpp.
References Convert2T5(), and Convert2Utf8().
| te::rst::RasterProperty * terralib4::Convert2T5 | ( | TeRasterParams & | rparams | ) |
Definition at line 396 of file src/terralib/terralib4/Utils.cpp.
References te::rst::BandProperty::ColorEntry::c1, te::rst::BandProperty::ColorEntry::c2, te::rst::BandProperty::ColorEntry::c3, Convert2T5(), te::rst::BandProperty::m_blkh, te::rst::BandProperty::m_blkw, te::rst::BandProperty::m_nblocksx, te::rst::BandProperty::m_nblocksy, te::rst::BandProperty::m_noDataValue, te::rst::BandProperty::m_palette, and te::rst::BandProperty::m_valuesOffset.
| te::gm::GeomType terralib4::Convert2T5GeomType | ( | TeAttrDataType | type | ) |
Definition at line 210 of file src/terralib/terralib4/Utils.cpp.
References te::gm::LineStringType, te::gm::MultiLineStringType, te::gm::MultiPointType, te::gm::MultiPolygonType, te::gm::PointType, te::gm::PolygonType, and te::gm::UnknownGeometryType.
Referenced by te::qt::plugins::terralib4::GetGrouping(), and GetMinimalRepresentation().
| te::gm::GeomType terralib4::Convert2T5GeomType | ( | TeGeomRep | type | ) |
It converts a Terralib 4.x data type to Terralib 5 data type.
| type | The type to convert. |
Definition at line 241 of file src/terralib/terralib4/Utils.cpp.
References te::gm::LineStringType, te::gm::PointType, te::gm::PolygonType, and te::gm::UnknownGeometryType.
| std::string terralib4::Convert2Utf8 | ( | const std::string & | str | ) |
Definition at line 533 of file src/terralib/terralib4/Utils.cpp.
References te::core::LATIN1, and te::core::CharEncoding::toUTF8().
Referenced by terralib4::Transactor::addProperty(), Convert2T5(), terralib4::Transactor::getDataSetNames(), terralib4::Transactor::getDataSetType(), te::qt::plugins::terralib4::GetGrouping(), terralib4::Transactor::getLayerSRID(), te::qt::plugins::terralib4::GetRasterGrouping(), terralib4::VectorDataSet::getString(), terralib4::Transactor::getTL4Layers(), terralib4::Transactor::getTL4RasterFiles(), terralib4::Transactor::getTL4Rasters(), terralib4::Transactor::getTL4Tables(), terralib4::Transactor::getTL4Theme(), terralib4::Transactor::getTL4Themes(), getViewId(), terralib4::Band::read(), and terralib4::TableDataSet::TableDataSet().
| te::gm::GeomType terralib4::GetCollection | ( | TeGeomRep | rep | ) |
Definition at line 513 of file src/terralib/terralib4/Utils.cpp.
References te::gm::MultiLineStringType, te::gm::MultiPointType, te::gm::MultiPolygonType, and te::gm::UnknownGeometryType.
Referenced by terralib4::Transactor::getDataSetType(), and GetMinimalRepresentation().
| te::gm::GeomType terralib4::GetMinimalRepresentation | ( | const std::vector< TeGeometry * > & | geoms | ) |
Definition at line 482 of file src/terralib/terralib4/Utils.cpp.
References Convert2T5GeomType(), te::gm::GeometryCollectionType, and GetCollection().
Referenced by terralib4::VectorDataSet::getGeometry().