#include <IntersectionQuery.h>
Public Member Functions | |
| te::da::DataSetType * | getOutputDsType () |
| IntersectionQuery () | |
| virtual bool | paramsAreValid () |
| bool | run () throw (te::common::Exception) |
| void | setInput (te::da::DataSourcePtr inFirstDsrc, std::string inFirstDsetName, std::unique_ptr< te::da::DataSetTypeConverter > firstConverter, te::da::DataSourcePtr inSecondDsrc, std::string inSecondDsetName, std::unique_ptr< te::da::DataSetTypeConverter > secondConverter, const te::da::ObjectIdSet *firstOidSet=0, const te::da::ObjectIdSet *secondOidSet=0) |
| void | setInput (te::da::DataSourcePtr inFirstDsrc, std::string inFirstDsetName, std::unique_ptr< te::da::DataSetType > firstDsType, std::unique_ptr< te::da::DataSet > firstDs, std::unique_ptr< te::da::DataSetTypeConverter > firstConverter, te::da::DataSourcePtr inSecondDsrc, std::string inSecondDsetName, std::unique_ptr< te::da::DataSetType > secondDsType, std::unique_ptr< te::da::DataSet > secondDs, std::unique_ptr< te::da::DataSetTypeConverter > secondConverter, const te::da::ObjectIdSet *firstOidSet=0, const te::da::ObjectIdSet *secondOidSet=0) |
| void | setIsFirstQuery () |
| void | setIsSecondQuery () |
| void | setOutput (te::da::DataSourcePtr outDsrc, std::string dsname) |
| void | setParams (const std::vector< std::pair< int, std::string > > &attributeVec) |
| ~IntersectionQuery () | |
Protected Member Functions | |
| std::vector< te::dt::Property * > | getTabularProps (te::da::DataSetType *dsType) |
| bool | isSelectedProperty (const int &id, const dt::Property &prop) |
| te::gm::GeomType | setGeomResultType (te::gm::GeomType firstGeom, te::gm::GeomType secondGeom) |
Protected Attributes | |
| std::vector< std::pair< int, std::string > > | m_attributeVec |
| std::unique_ptr< te::da::DataSetTypeConverter > | m_firstConverter |
| std::unique_ptr< te::da::DataSet > | m_firstDs |
| std::unique_ptr< te::da::DataSetType > | m_firstDsType |
| const te::da::ObjectIdSet * | m_firstOidSet |
| std::string | m_inFirstDsetName |
| te::da::DataSourcePtr | m_inFirstDsrc |
| std::string | m_inSecondDsetName |
| te::da::DataSourcePtr | m_inSecondDsrc |
| bool | m_isFistQuery |
| bool | m_isSecondQuery |
| std::string | m_outDsetName |
| te::da::DataSourcePtr | m_outDsrc |
| std::unique_ptr< te::da::DataSetTypeConverter > | m_secondConverter |
| std::unique_ptr< te::da::DataSet > | m_secondDs |
| std::unique_ptr< te::da::DataSetType > | m_secondDsType |
| const te::da::ObjectIdSet * | m_secondOidSet |
Private Member Functions | |
| te::da::DataSet * | updateGeomType (te::da::DataSetType *dsType, te::da::DataSet *ds) |
Definition at line 54 of file IntersectionQuery.h.
|
default |
|
default |
|
inherited |
Definition at line 167 of file IntersectionOp.cpp.
References te::da::PrimaryKey::add(), te::da::DataSetType::add(), te::dt::Property::clone(), te::da::GetFirstGeomProperty(), te::dt::Property::getName(), te::gm::GeometryProperty::getSRID(), te::dt::INT32_TYPE, te::vp::IntersectionOp::m_attributeVec, te::vp::IntersectionOp::m_firstDsType, te::vp::IntersectionOp::m_outDsetName, te::vp::IntersectionOp::m_secondDsType, p, te::dt::SimpleProperty::setAutoNumber(), te::vp::IntersectionOp::setGeomResultType(), te::dt::Property::setName(), te::da::DataSetType::setPrimaryKey(), and te::gm::GeometryProperty::setSRID().
Referenced by te::vp::IntersectionMemory::pairwiseIntersection(), and run().
|
protectedinherited |
Definition at line 151 of file IntersectionOp.cpp.
References te::dt::GEOMETRY_TYPE, te::dt::CompositeProperty::getProperties(), te::dt::CompositeProperty::getProperty(), and te::dt::Property::getType().
Referenced by run(), and te::vp::IntersectionMemory::run().
|
protectedinherited |
Definition at line 219 of file IntersectionOp.cpp.
References te::dt::Property::getName(), te::vp::IntersectionOp::m_attributeVec, and p.
|
virtualinherited |
Definition at line 131 of file IntersectionOp.cpp.
References te::vp::IntersectionOp::m_firstConverter, te::vp::IntersectionOp::m_outDsetName, te::vp::IntersectionOp::m_outDsrc, and te::vp::IntersectionOp::m_secondConverter.
Referenced by IntersectionOGRToOGR(), IntersectionOGRToPGIS(), IntersectionPGISToOGR(), IntersectionPGISToPGIS(), and te::vp::IntersectionDialog::onOkPushButtonClicked().
|
virtual | |||||||||||||
Implements te::vp::IntersectionOp.
Definition at line 81 of file IntersectionQuery.cpp.
References te::da::ObjectIdSet::getExpressionByInClause(), te::da::GetFirstGeomProperty(), te::vp::IntersectionOp::getOutputDsType(), te::vp::IntersectionOp::getTabularProps(), te::da::INNER_JOIN, te::vp::IntersectionOp::m_firstConverter, te::vp::IntersectionOp::m_firstOidSet, te::vp::IntersectionOp::m_inFirstDsetName, te::vp::IntersectionOp::m_inFirstDsrc, te::vp::IntersectionOp::m_inSecondDsetName, te::vp::IntersectionOp::m_inSecondDsrc, te::vp::IntersectionOp::m_outDsrc, te::vp::IntersectionOp::m_secondConverter, te::vp::IntersectionOp::m_secondOidSet, te::vp::Save(), te::da::Select::setFields(), te::da::Select::setFrom(), te::da::Select::setWhere(), TE_TR, and updateGeomType().
|
protectedinherited |
Definition at line 108 of file IntersectionOp.cpp.
References te::vp::IsLineStringType(), te::vp::IsPointType(), te::gm::MultiLineStringType, te::gm::MultiPointType, and te::gm::MultiPolygonType.
Referenced by te::vp::IntersectionOp::getOutputDsType().
|
inherited |
Definition at line 48 of file IntersectionOp.cpp.
References te::vp::IntersectionOp::m_firstConverter, te::vp::IntersectionOp::m_firstOidSet, te::vp::IntersectionOp::m_inFirstDsetName, te::vp::IntersectionOp::m_inFirstDsrc, te::vp::IntersectionOp::m_inSecondDsetName, te::vp::IntersectionOp::m_inSecondDsrc, te::vp::IntersectionOp::m_secondConverter, and te::vp::IntersectionOp::m_secondOidSet.
Referenced by IntersectionOGRToOGR(), IntersectionOGRToPGIS(), IntersectionPGISToOGR(), IntersectionPGISToPGIS(), and te::vp::IntersectionDialog::onOkPushButtonClicked().
|
inherited |
Definition at line 68 of file IntersectionOp.cpp.
References te::vp::IntersectionOp::m_firstConverter, te::vp::IntersectionOp::m_firstDs, te::vp::IntersectionOp::m_firstDsType, te::vp::IntersectionOp::m_firstOidSet, te::vp::IntersectionOp::m_inFirstDsetName, te::vp::IntersectionOp::m_inFirstDsrc, te::vp::IntersectionOp::m_inSecondDsetName, te::vp::IntersectionOp::m_inSecondDsrc, te::vp::IntersectionOp::m_secondConverter, te::vp::IntersectionOp::m_secondDs, te::vp::IntersectionOp::m_secondDsType, and te::vp::IntersectionOp::m_secondOidSet.
|
inherited |
Definition at line 209 of file IntersectionOp.cpp.
References te::vp::IntersectionOp::m_isFistQuery.
Referenced by te::vp::IntersectionDialog::onOkPushButtonClicked().
|
inherited |
Definition at line 214 of file IntersectionOp.cpp.
References te::vp::IntersectionOp::m_isSecondQuery.
Referenced by te::vp::IntersectionDialog::onOkPushButtonClicked().
|
inherited |
Definition at line 102 of file IntersectionOp.cpp.
References te::vp::IntersectionOp::m_outDsetName, and te::vp::IntersectionOp::m_outDsrc.
Referenced by IntersectionOGRToOGR(), IntersectionOGRToPGIS(), IntersectionPGISToOGR(), IntersectionPGISToPGIS(), and te::vp::IntersectionDialog::onOkPushButtonClicked().
|
inherited |
Definition at line 97 of file IntersectionOp.cpp.
References te::vp::IntersectionOp::m_attributeVec.
Referenced by te::vp::IntersectionDialog::onOkPushButtonClicked().
|
private |
Definition at line 191 of file IntersectionQuery.cpp.
References te::mem::DataSet::add(), DataSet(), te::dt::GEOMETRY_TYPE, te::da::DataSet::getGeometry(), te::dt::CompositeProperty::getProperties(), te::da::DataSet::getValue(), te::da::DataSet::isNull(), te::gm::LineStringType, te::da::DataSet::moveNext(), te::gm::MultiLineStringType, te::gm::MultiPointType, te::gm::MultiPolygonType, te::gm::PointType, te::gm::PolygonType, te::mem::DataSetItem::setGeometry(), te::mem::DataSetItem::setInt32(), and te::mem::DataSetItem::setValue().
Referenced by run().
|
protectedinherited |
Definition at line 126 of file IntersectionOp.h.
Referenced by te::vp::IntersectionOp::getOutputDsType(), te::vp::IntersectionOp::isSelectedProperty(), and te::vp::IntersectionOp::setParams().
|
protectedinherited |
Definition at line 111 of file IntersectionOp.h.
Referenced by te::vp::IntersectionOp::paramsAreValid(), run(), te::vp::IntersectionMemory::run(), and te::vp::IntersectionOp::setInput().
|
protectedinherited |
Definition at line 119 of file IntersectionOp.h.
Referenced by te::vp::IntersectionMemory::run(), and te::vp::IntersectionOp::setInput().
|
protectedinherited |
Definition at line 118 of file IntersectionOp.h.
Referenced by te::vp::IntersectionOp::getOutputDsType(), and te::vp::IntersectionOp::setInput().
|
protectedinherited |
Definition at line 115 of file IntersectionOp.h.
Referenced by run(), te::vp::IntersectionMemory::run(), and te::vp::IntersectionOp::setInput().
|
protectedinherited |
Definition at line 110 of file IntersectionOp.h.
Referenced by run(), te::vp::IntersectionMemory::run(), and te::vp::IntersectionOp::setInput().
|
protectedinherited |
Definition at line 109 of file IntersectionOp.h.
Referenced by run(), te::vp::IntersectionMemory::run(), and te::vp::IntersectionOp::setInput().
|
protectedinherited |
Definition at line 113 of file IntersectionOp.h.
Referenced by run(), te::vp::IntersectionMemory::run(), and te::vp::IntersectionOp::setInput().
|
protectedinherited |
Definition at line 112 of file IntersectionOp.h.
Referenced by run(), te::vp::IntersectionMemory::run(), and te::vp::IntersectionOp::setInput().
|
protectedinherited |
Definition at line 123 of file IntersectionOp.h.
Referenced by te::vp::IntersectionMemory::run(), and te::vp::IntersectionOp::setIsFirstQuery().
|
protectedinherited |
Definition at line 124 of file IntersectionOp.h.
Referenced by te::vp::IntersectionMemory::run(), and te::vp::IntersectionOp::setIsSecondQuery().
|
protectedinherited |
Definition at line 129 of file IntersectionOp.h.
Referenced by te::vp::IntersectionOp::getOutputDsType(), te::vp::IntersectionOp::paramsAreValid(), te::vp::IntersectionMemory::run(), and te::vp::IntersectionOp::setOutput().
|
protectedinherited |
Definition at line 128 of file IntersectionOp.h.
Referenced by te::vp::IntersectionOp::paramsAreValid(), run(), te::vp::IntersectionMemory::run(), and te::vp::IntersectionOp::setOutput().
|
protectedinherited |
Definition at line 114 of file IntersectionOp.h.
Referenced by te::vp::IntersectionOp::paramsAreValid(), run(), te::vp::IntersectionMemory::run(), and te::vp::IntersectionOp::setInput().
|
protectedinherited |
Definition at line 121 of file IntersectionOp.h.
Referenced by te::vp::IntersectionMemory::run(), and te::vp::IntersectionOp::setInput().
|
protectedinherited |
Definition at line 120 of file IntersectionOp.h.
Referenced by te::vp::IntersectionOp::getOutputDsType(), and te::vp::IntersectionOp::setInput().
|
protectedinherited |
Definition at line 116 of file IntersectionOp.h.
Referenced by run(), te::vp::IntersectionMemory::run(), and te::vp::IntersectionOp::setInput().