26 #ifndef __TERRALIB_OGR_INTERNAL_DATASOURCE_H 27 #define __TERRALIB_OGR_INTERNAL_DATASOURCE_H 31 #include "../dataaccess/datasource/DataSource.h" 32 #include "../dataaccess/datasource/DataSourceCapabilities.h" 33 #include "../dataaccess/dataset/DataSetType.h" 60 std::string getType()
const;
62 std::unique_ptr<te::da::DataSourceTransactor> getTransactor();
68 bool isOpened()
const;
76 void createDataSet(
te::da::DataSetType* dt,
const std::map<std::string, std::string>& options);
80 GDALDataset* getOGRDataSource();
82 void createOGRDataSource();
94 bool isInTransaction()
const;
99 void create(
const std::string& connInfo);
101 void drop(
const std::string& connInfo);
103 bool exists(
const std::string& connInfo);
105 std::vector<std::string> getDataSourceNames(
const std::string& connInfo);
121 #endif // __TERRALIB_OGR_INTERNAL_DATASOURCE_H An exception class for the OGR module.
A class that models the description of a dataset.
#define TEOGREXPORT
You can use this macro in order to export/import classes and functions from this module.
It represents the SQL query dialect accepted by a given data source.
te::da::DataSource * Build(const te::core::URI &uri)
A class that represents the known capabilities of a specific data source, i.e. this class informs all...
An abstract class for data providers like a DBMS, Web Services or a regular file. ...
te::da::DataSourceCapabilities m_capabilities
OGR capabilities.
EncodingType
Supported character encodings.
te::core::EncodingType m_encoding
The data source encoding type.
std::size_t m_transactionCount
A counter to handle nested transactions.
The OGR data source provider.
Configuration flags for the OGR Driver Implementation of TerraLib.
A class to store the proxy information that must be used to access data located in URIs...
GDALDataset * m_ogrDS
A pointer to OGR Data Source.
static te::da::SQLDialect * sm_myDialect
OGR SQL dialect.
bool m_isValid
True if this is a valid datasource.