#include "DataAccessExamples.h"#include "../Config.h"#include <terralib/dataaccess.h>#include <terralib/geometry.h>#include <iostream>Go to the source code of this file.
Functions | |
| void | CopyingData () |
| This example shows how to copy a given dataset from one data source to another one. More... | |
| std::unique_ptr< te::da::DataSource > | GetPostGISConnection () |
| void CopyingData | ( | ) |
This example shows how to copy a given dataset from one data source to another one.
Definition at line 14 of file CopyingData.cpp.
References te::gm::GeometryType, te::da::GetFirstGeomProperty(), te::dt::Property::getName(), GetPostGISConnection(), te::da::DataSourceFactory::make(), te::gm::GeometryProperty::setGeometryType(), te::dt::Property::setName(), and te::gm::GeometryProperty::setSRID().
Referenced by main().
| std::unique_ptr<te::da::DataSource> GetPostGISConnection | ( | ) |
Definition at line 13 of file PostGISExample.cpp.
Referenced by BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_SUITE(), and CopyingData().