#include <Union.h>
Public Member Functions | |
| bool | executeMemory (te::vp::AlgorithmParams *mainParams) |
| bool | executeQuery (te::vp::AlgorithmParams *mainParams) |
| Union () | |
| virtual | ~Union () |
Protected Member Functions | |
| std::vector< te::dt::Property * > | getFirstSelectedProperties (const te::da::DataSetType *dataSetType, const std::map< std::string, te::dt::AbstractData * > &specificParams) |
| te::gm::GeomType | getGeomResultType (const te::gm::GeomType &firstGeom, const te::gm::GeomType &secondGeom, const bool &isCollection) |
| te::da::DataSetType * | getOutputDataSetType (te::vp::AlgorithmParams *mainParams) |
| std::vector< std::pair< std::string, std::string > > | getProperties (const std::map< std::string, te::dt::AbstractData * > &specificParams) |
| std::vector< te::dt::Property * > | getSecondSelectedProperties (const te::da::DataSetType *dataSetType, const std::map< std::string, te::dt::AbstractData * > &specificParams) |
| bool | isCollection (const std::map< std::string, te::dt::AbstractData * > &specificParams) |
| te::gm::Geometry * | setGeomAsMulti (te::gm::Geometry *geom) |
Private Attributes | |
| std::map< std::string, std::string > | m_firstAttrNameMap |
| std::map< std::string, std::string > | m_secondAttrNameMap |
Definition at line 44 of file src/terralib/vp/Union.h.
|
default |
|
inlinevirtual |
Definition at line 50 of file src/terralib/vp/Union.h.
|
virtual |
Implements te::vp::Algorithm.
Definition at line 41 of file src/terralib/vp/Union.cpp.
References te::common::FreeContents(), te::da::GetFirstGeomProperty(), te::da::GetFirstSpatialProperty(), te::da::DataSet::getGeometry(), te::gm::GeometryProperty::getGeometryType(), te::gm::GetGeometryUnion(), te::vp::AlgorithmParams::getInputParams(), te::dt::Property::getName(), getOutputDataSetType(), te::vp::AlgorithmParams::getOutputDataSource(), te::vp::GetRtree(), te::vp::AlgorithmParams::getSpecificParams(), te::da::DataSet::getValue(), isCollection(), te::gm::IsMultiType(), te::da::DataSet::isNull(), m_firstAttrNameMap, m_secondAttrNameMap, te::vp::MEMORY, te::da::DataSet::move(), te::da::DataSet::moveBeforeFirst(), te::da::DataSet::moveNext(), te::gm::Multi2Single(), te::vp::PrepareAdd(), te::vp::Save(), te::sam::rtree::Index< DATATYPE, MAXNODES, MINNODES >::search(), te::vp::SetGeomAsMulti(), TE_LOG_ERROR, TE_TR, te::vp::ValidateAlgorithmParams(), and te::common::Exception::what().
Referenced by te::vp::UnionDialog::onOkPushButtonClicked().
|
virtual |
Implements te::vp::Algorithm.
Definition at line 391 of file src/terralib/vp/Union.cpp.
|
protected |
Definition at line 585 of file src/terralib/vp/Union.cpp.
References getProperties(), and te::dt::CompositeProperty::getProperty().
Referenced by getOutputDataSetType().
|
protected |
Definition at line 514 of file src/terralib/vp/Union.cpp.
References te::gm::GetMultiType(), te::gm::GetSimpleType(), te::gm::IsMultiType(), te::gm::LineStringMType, te::gm::LineStringType, te::gm::LineStringZMType, te::gm::LineStringZType, te::gm::MultiLineStringMType, te::gm::MultiLineStringType, te::gm::MultiLineStringZMType, te::gm::MultiLineStringZType, te::gm::MultiPointMType, te::gm::MultiPointType, te::gm::MultiPointZMType, te::gm::MultiPointZType, te::gm::MultiPolygonType, te::gm::PointKdType, te::gm::PointMType, te::gm::PointType, te::gm::PointZMType, and te::gm::PointZType.
Referenced by getOutputDataSetType().
|
protected |
Definition at line 396 of file src/terralib/vp/Union.cpp.
References te::da::PrimaryKey::add(), te::da::DataSetType::add(), te::dt::Property::clone(), te::vp::GetDistinctName(), te::da::GetFirstGeomProperty(), getFirstSelectedProperties(), te::gm::GeometryProperty::getGeometryType(), getGeomResultType(), te::vp::AlgorithmParams::getInputParams(), te::dt::Property::getName(), te::vp::AlgorithmParams::getOutputDataSetName(), te::vp::AlgorithmParams::getOutputDataSource(), getSecondSelectedProperties(), te::vp::AlgorithmParams::getSpecificParams(), te::gm::GeometryProperty::getSRID(), te::dt::INT32_TYPE, isCollection(), m_firstAttrNameMap, te::vp::InputParams::m_inputDataSetType, m_secondAttrNameMap, te::dt::SimpleProperty::setAutoNumber(), te::gm::GeometryProperty::setGeometryType(), te::dt::Property::setName(), te::da::DataSetType::setPrimaryKey(), te::dt::SimpleProperty::setRequired(), and te::gm::GeometryProperty::setSRID().
Referenced by executeMemory().
|
protected |
Definition at line 360 of file src/terralib/vp/Union.cpp.
References te::vp::ComplexData< T >::getValue().
Referenced by getFirstSelectedProperties(), and getSecondSelectedProperties().
|
protected |
Definition at line 605 of file src/terralib/vp/Union.cpp.
References getProperties(), and te::dt::CompositeProperty::getProperty().
Referenced by getOutputDataSetType().
|
protected |
Definition at line 335 of file src/terralib/vp/Union.cpp.
References te::dt::SimpleData< T, typeCode >::getValue().
Referenced by executeMemory(), and getOutputDataSetType().
|
protected |
Definition at line 625 of file src/terralib/vp/Union.cpp.
References te::gm::GeometryCollection::add(), te::gm::Geometry::getGeomTypeId(), te::gm::Geometry::getSRID(), te::gm::LineStringType, te::gm::MultiLineStringType, te::gm::MultiPointType, te::gm::MultiPolygonType, te::gm::PointType, and te::gm::PolygonType.
|
private |
Definition at line 82 of file src/terralib/vp/Union.h.
Referenced by executeMemory(), and getOutputDataSetType().
|
private |
Definition at line 84 of file src/terralib/vp/Union.h.
Referenced by executeMemory(), and getOutputDataSetType().