#include "DataAccessExamples.h"#include <terralib/dataaccess/datasource/DataSourceFactory.h>#include <terralib/datatype.h>#include <iostream>#include <exception>Go to the source code of this file.
Functions | |
| std::unique_ptr< te::da::DataSource > | GetPostGISConnection () |
| It returns the union of a geometry vector. More... | |
| void | PostGISExample () |
| An example using PostGIS data source driver. More... | |
| std::unique_ptr<te::da::DataSource> GetPostGISConnection | ( | ) |
It returns the union of a geometry vector.
| items | Vector of itens that represents a group. |
Definition at line 13 of file PostGISExample.cpp.
Referenced by PostGISExample().
| void PostGISExample | ( | ) |
An example using PostGIS data source driver.
Definition at line 80 of file PostGISExample.cpp.
References te::da::DataSetType::add(), AddPrimaryKey(), AddProperty(), AddSpatialIndex(), AddUniqueKey(), CreateDataSetType(), DroppingDataSetType(), ds, te::gm::GeometryType, te::dt::Property::getName(), GetPostGISConnection(), te::dt::INT32_TYPE, PrintDataSet(), PrintDataSourceCapabilities(), RetrieveUsingSpatialFilter(), te::dt::STRING, and te::dt::VAR_STRING.
Referenced by main().