#include <GeometricOpQuery.h>
Public Member Functions | |
| GeometricOpQuery () | |
| std::vector< std::string > | GetOutputDSetNames () |
| virtual bool | paramsAreValid () |
| bool | run () throw (te::common::Exception) |
| void | setInput (te::da::DataSourcePtr inDsrc, std::string inDsetName, std::unique_ptr< te::da::DataSetTypeConverter > converter) |
| void | setOutput (std::unique_ptr< da::DataSource > outDsrc, std::string dsname) |
| void | setParams (std::vector< std::string > selectedProps, std::vector< te::vp::GeometricOperation > operations, te::vp::GeometricOpObjStrategy objStrategy, std::string attribute, int newSRID) |
| ~GeometricOpQuery () | |
Protected Member Functions | |
| te::da::DataSetType * | GetDataSetType (te::vp::GeometricOpObjStrategy, bool MultiGeomColumns, int geomOp=-1) |
| te::mem::DataSet * | SetAggregByAttribute (te::da::DataSetType *dsType, std::vector< int > tabVec, std::vector< int > geoVec) |
| te::mem::DataSet * | SetAggregObj (te::da::DataSetType *dsType, std::vector< int > tabVec, std::vector< int > geoVec) |
| te::mem::DataSet * | SetAllObjects (te::da::DataSetType *dsType, std::vector< int > tabVec, std::vector< int > geoVec) |
| void | SetOutputDSet (te::da::DataSet *inDataSet, te::mem::DataSet *outDataSet) |
Protected Attributes | |
| std::string | m_attribute |
| std::unique_ptr< te::da::DataSetTypeConverter > | m_converter |
| std::string | m_inDsetName |
| te::da::DataSourcePtr | m_inDsrc |
| int | m_newSRID |
| te::vp::GeometricOpObjStrategy | m_objStrategy |
| std::vector< te::vp::GeometricOperation > | m_operations |
| std::string | m_outDsetName |
| std::vector< std::string > | m_outDsetNameVec |
| std::unique_ptr< te::da::DataSource > | m_outDsrc |
| std::vector< std::string > | m_selectedProps |
Definition at line 45 of file GeometricOpQuery.h.
|
default |
|
default |
|
protectedinherited |
Definition at line 79 of file GeometricOp.cpp.
References te::da::PrimaryKey::add(), te::da::DataSetType::add(), te::vp::AGGREG_BY_ATTRIBUTE, te::vp::ALL_OBJ, te::vp::AREA, te::vp::CENTROID, te::vp::CONVEX_HULL, te::dt::DOUBLE_TYPE, te::da::GetFirstGeomProperty(), te::gm::GeometryProperty::getGeometryType(), te::gm::GeometryProperty::getSRID(), te::dt::INT32_TYPE, line, te::vp::LINE, te::gm::LineStringMType, te::gm::LineStringType, te::gm::LineStringZMType, te::gm::LineStringZType, te::vp::GeometricOp::m_attribute, te::vp::GeometricOp::m_converter, te::vp::GeometricOp::m_operations, te::vp::GeometricOp::m_outDsetName, te::vp::GeometricOp::m_selectedProps, te::vp::MBR, 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::MultiPolygonMType, te::gm::MultiPolygonType, te::gm::MultiPolygonZMType, te::gm::MultiPolygonZType, te::vp::PERIMETER, te::gm::PointMType, te::gm::PointType, te::gm::PointZMType, te::gm::PointZType, te::gm::PolygonMType, te::gm::PolygonType, te::gm::PolygonZMType, te::gm::PolygonZType, te::dt::SimpleProperty::setAutoNumber(), te::gm::GeometryProperty::setGeometryType(), te::dt::Property::setParent(), te::da::DataSetType::setPrimaryKey(), te::gm::GeometryProperty::setSRID(), and te::da::DataSetType::setTitle().
Referenced by te::vp::GeometricOpMemory::run(), and run().
|
inherited |
Definition at line 74 of file GeometricOp.cpp.
References te::vp::GeometricOp::m_outDsetNameVec.
Referenced by te::vp::GeometricOpDialog::onOkPushButtonClicked().
|
virtualinherited |
Definition at line 60 of file GeometricOp.cpp.
References te::vp::GeometricOp::m_converter, te::vp::GeometricOp::m_outDsetName, and te::vp::GeometricOp::m_outDsrc.
Referenced by te::vp::GeometricOpDialog::onOkPushButtonClicked().
|
virtual | |||||||||||||
Implements te::vp::GeometricOp.
Definition at line 72 of file GeometricOpQuery.cpp.
References te::vp::AGGREG_BY_ATTRIBUTE, te::vp::AGGREG_OBJ, te::vp::ALL_OBJ, te::vp::AREA, te::vp::CENTROID, te::vp::CONVEX_HULL, te::vp::GeometricOp::GetDataSetType(), te::vp::LINE, te::vp::GeometricOp::m_objStrategy, te::vp::GeometricOp::m_operations, te::vp::GeometricOp::m_outDsetNameVec, te::vp::GeometricOp::m_outDsrc, te::vp::MBR, te::vp::PERIMETER, te::vp::Save(), SetAggregByAttribute(), SetAggregObj(), SetAllObjects(), and TE_LOG_INFO.
|
protected |
Definition at line 692 of file GeometricOpQuery.cpp.
References te::vp::AREA, te::vp::CENTROID, te::vp::CONVEX_HULL, te::da::GetFirstGeomProperty(), te::dt::Property::getName(), te::dt::CompositeProperty::getPropertyPosition(), te::gm::GeometryProperty::getSRID(), te::vp::LINE, te::vp::GeometricOp::m_attribute, te::vp::GeometricOp::m_converter, te::vp::GeometricOp::m_inDsetName, te::vp::GeometricOp::m_inDsrc, te::vp::GeometricOp::m_newSRID, te::vp::MBR, te::vp::PERIMETER, te::da::Select::setGroupBy(), SetOutputDSet(), and TE_LOG_INFO.
Referenced by run().
|
protected |
Definition at line 474 of file GeometricOpQuery.cpp.
References te::vp::AREA, te::vp::CENTROID, te::vp::CONVEX_HULL, te::da::GetFirstGeomProperty(), te::dt::Property::getName(), te::dt::CompositeProperty::getPropertyPosition(), te::gm::GeometryProperty::getSRID(), te::vp::LINE, te::vp::GeometricOp::m_converter, te::vp::GeometricOp::m_inDsetName, te::vp::GeometricOp::m_inDsrc, te::vp::GeometricOp::m_newSRID, te::vp::MBR, te::vp::PERIMETER, SetOutputDSet(), and TE_LOG_INFO.
Referenced by run().
|
protected |
Definition at line 255 of file GeometricOpQuery.cpp.
References te::vp::AREA, te::vp::CENTROID, te::vp::CONVEX_HULL, te::da::GetFirstGeomProperty(), te::dt::Property::getName(), te::dt::CompositeProperty::getPropertyPosition(), te::gm::GeometryProperty::getSRID(), te::vp::LINE, te::vp::GeometricOp::m_converter, te::vp::GeometricOp::m_inDsetName, te::vp::GeometricOp::m_inDsrc, te::vp::GeometricOp::m_newSRID, te::vp::GeometricOp::m_selectedProps, te::vp::MBR, te::vp::PERIMETER, SetOutputDSet(), and TE_LOG_INFO.
Referenced by run().
|
inherited |
Definition at line 31 of file GeometricOp.cpp.
References te::vp::GeometricOp::m_converter, te::vp::GeometricOp::m_inDsetName, and te::vp::GeometricOp::m_inDsrc.
Referenced by te::vp::GeometricOpDialog::onOkPushButtonClicked().
|
inherited |
Definition at line 53 of file GeometricOp.cpp.
References te::vp::GeometricOp::m_outDsetName, and te::vp::GeometricOp::m_outDsrc.
Referenced by te::vp::GeometricOpDialog::onOkPushButtonClicked().
|
protected |
Definition at line 922 of file GeometricOpQuery.cpp.
References te::mem::DataSet::add(), te::gm::GeometryCollection::add(), te::dt::DOUBLE_TYPE, te::dt::GEOMETRY_TYPE, te::gm::GeometryCollectionType, te::da::DataSet::getDouble(), te::da::DataSet::getGeometry(), te::da::DataSet::getInt16(), te::da::DataSet::getInt32(), te::da::DataSet::getInt64(), te::gm::GeometryCollection::getNumGeometries(), te::da::DataSet::getNumProperties(), te::da::DataSet::getPropertyDataType(), te::da::DataSet::getPropertyName(), te::da::DataSet::getString(), te::dt::INT16_TYPE, te::dt::INT32_TYPE, te::dt::INT64_TYPE, te::da::DataSet::isNull(), te::gm::LineStringMType, te::gm::LineStringType, te::gm::LineStringZMType, te::gm::LineStringZType, te::da::DataSet::moveBeforeFirst(), te::da::DataSet::moveNext(), te::gm::PointMType, te::gm::PointType, te::gm::PointZMType, te::gm::PointZType, te::gm::PolygonMType, te::gm::PolygonType, te::gm::PolygonZMType, te::gm::PolygonZType, te::mem::DataSetItem::setDouble(), te::mem::DataSetItem::setGeometry(), te::mem::DataSetItem::setInt16(), te::mem::DataSetItem::setInt32(), te::mem::DataSetItem::setInt64(), te::mem::DataSetItem::setString(), te::dt::STRING_TYPE, and TE_LOG_INFO.
Referenced by SetAggregByAttribute(), SetAggregObj(), and SetAllObjects().
|
inherited |
Definition at line 40 of file GeometricOp.cpp.
References te::qt::plugins::wtss::attribute, te::vp::GeometricOp::m_attribute, te::vp::GeometricOp::m_newSRID, te::vp::GeometricOp::m_objStrategy, te::vp::GeometricOp::m_operations, and te::vp::GeometricOp::m_selectedProps.
Referenced by te::vp::GeometricOpDialog::onOkPushButtonClicked().
|
protectedinherited |
Definition at line 88 of file GeometricOp.h.
Referenced by te::vp::GeometricOp::GetDataSetType(), te::vp::GeometricOpMemory::SetAggregByAttribute(), SetAggregByAttribute(), and te::vp::GeometricOp::setParams().
|
protectedinherited |
Definition at line 83 of file GeometricOp.h.
Referenced by te::vp::GeometricOp::GetDataSetType(), te::vp::GeometricOp::paramsAreValid(), te::vp::GeometricOpMemory::SetAggregByAttribute(), SetAggregByAttribute(), te::vp::GeometricOpMemory::SetAggregObj(), SetAggregObj(), te::vp::GeometricOpMemory::SetAllObjects(), SetAllObjects(), and te::vp::GeometricOp::setInput().
|
protectedinherited |
Definition at line 82 of file GeometricOp.h.
Referenced by te::vp::GeometricOpMemory::SetAggregByAttribute(), SetAggregByAttribute(), te::vp::GeometricOpMemory::SetAggregObj(), SetAggregObj(), te::vp::GeometricOpMemory::SetAllObjects(), SetAllObjects(), and te::vp::GeometricOp::setInput().
|
protectedinherited |
Definition at line 81 of file GeometricOp.h.
Referenced by te::vp::GeometricOpMemory::SetAggregByAttribute(), SetAggregByAttribute(), te::vp::GeometricOpMemory::SetAggregObj(), SetAggregObj(), te::vp::GeometricOpMemory::SetAllObjects(), SetAllObjects(), and te::vp::GeometricOp::setInput().
|
protectedinherited |
Definition at line 89 of file GeometricOp.h.
Referenced by te::vp::GeometricOpMemory::CalculateTabularOp(), SetAggregByAttribute(), SetAggregObj(), SetAllObjects(), and te::vp::GeometricOp::setParams().
|
protectedinherited |
Definition at line 87 of file GeometricOp.h.
Referenced by te::vp::GeometricOpMemory::run(), run(), and te::vp::GeometricOp::setParams().
|
protectedinherited |
Definition at line 86 of file GeometricOp.h.
Referenced by te::vp::GeometricOp::GetDataSetType(), te::vp::GeometricOpMemory::run(), run(), and te::vp::GeometricOp::setParams().
|
protectedinherited |
Definition at line 92 of file GeometricOp.h.
Referenced by te::vp::GeometricOp::GetDataSetType(), te::vp::GeometricOp::paramsAreValid(), and te::vp::GeometricOp::setOutput().
|
protectedinherited |
Definition at line 93 of file GeometricOp.h.
Referenced by te::vp::GeometricOp::GetOutputDSetNames(), te::vp::GeometricOpMemory::run(), and run().
|
protectedinherited |
Definition at line 91 of file GeometricOp.h.
Referenced by te::vp::GeometricOp::paramsAreValid(), te::vp::GeometricOpMemory::run(), run(), and te::vp::GeometricOp::setOutput().
|
protectedinherited |
Definition at line 85 of file GeometricOp.h.
Referenced by te::vp::GeometricOp::GetDataSetType(), te::vp::GeometricOpMemory::SetAllObjects(), SetAllObjects(), and te::vp::GeometricOp::setParams().