#include "../Config.h"#include <terralib/attributefill/VectorToVectorOp.h>#include <terralib/attributefill/VectorToVectorMemory.h>#include <terralib/dataaccess/datasource/DataSource.h>#include <terralib/dataaccess/datasource/DataSourceFactory.h>#include <terralib/dataaccess/datasource/DataSourceManager.h>#include <terralib/dataaccess/utils/Utils.h>#include <terralib/geometry/GeometryProperty.h>#include <terralib/geometry/Utils.h>#include <terralib/maptools/DataSetLayer.h>#include <terralib/se/Utils.h>#include <iostream>#include <map>#include <memory>#include <string>#include <vector>#include <boost/uuid/random_generator.hpp>#include <boost/uuid/uuid_io.hpp>Go to the source code of this file.
Functions | |
| te::map::DataSetLayerPtr | createLayer (te::da::DataSourcePtr source, te::da::DataSetTypePtr &dataset) |
| bool | VectorToVector () |
| te::map::DataSetLayerPtr createLayer | ( | te::da::DataSourcePtr | source, |
| te::da::DataSetTypePtr & | dataset | ||
| ) |
Definition at line 25 of file VectorToVector.cpp.
References te::se::CreateFeatureTypeStyle(), ds, te::da::GetExtent(), te::da::GetFirstGeomProperty(), te::common::Singleton< DataSourceManager >::getInstance(), te::da::LoadProperties(), and te::map::NOT_VISIBLE.
Referenced by te::qt::widgets::createLayer(), TerraView::onQueryLayerTriggered(), and VectorToVector().
| bool VectorToVector | ( | ) |
Definition at line 62 of file VectorToVector.cpp.
References createLayer(), te::common::Singleton< DataSourceManager >::getInstance(), te::da::DataSourceFactory::make(), and te::attributefill::PERCENT_TOTAL_AREA.