#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::auto_ptr< te::da::DataSetType > inDsetType) |
void | setOutput (std::auto_ptr< te::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, bool outputLayer) |
~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::string | m_inDsetName |
std::auto_ptr < te::da::DataSetType > | m_inDsetType |
te::da::DataSourcePtr | m_inDsrc |
te::vp::GeometricOpObjStrategy | m_objStrategy |
std::vector < te::vp::GeometricOperation > | m_operations |
std::string | m_outDsetName |
std::vector< std::string > | m_outDsetNameVec |
std::auto_ptr< te::da::DataSource > | m_outDsrc |
bool | m_outputLayer |
std::vector< std::string > | m_selectedProps |
Definition at line 55 of file GeometricOpQuery.h.
te::vp::GeometricOpQuery::GeometricOpQuery | ( | ) |
Definition at line 90 of file GeometricOpQuery.cpp.
te::vp::GeometricOpQuery::~GeometricOpQuery | ( | ) |
Definition at line 93 of file GeometricOpQuery.cpp.
|
protectedinherited |
Definition at line 95 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::dt::Property::clone(), te::vp::CONVEX_HULL, te::dt::DOUBLE_TYPE, te::da::GetFirstGeomProperty(), te::gm::GeometryProperty::getGeometryType(), te::gm::GeometryProperty::getSRID(), te::dt::INT32_TYPE, te::vp::LINE, te::gm::LineStringType, te::vp::MBR, te::gm::MultiLineStringType, te::gm::MultiPointType, te::gm::MultiPolygonType, te::vp::PERIMETER, te::gm::PointType, te::gm::PolygonType, 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 90 of file GeometricOp.cpp.
Referenced by te::vp::GeometricOpWizard::execute().
|
virtualinherited |
Definition at line 76 of file GeometricOp.cpp.
Referenced by te::vp::GeometricOpWizard::execute().
|
virtual |
Implements te::vp::GeometricOp.
Definition at line 96 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::MBR, te::vp::PERIMETER, and te::vp::Save().
|
protected |
Definition at line 540 of file GeometricOpQuery.cpp.
References te::vp::AREA, te::vp::CENTROID, te::vp::CONVEX_HULL, te::da::GetFirstSpatialPropertyPos(), te::dt::CompositeProperty::getPropertyPosition(), te::vp::LINE, te::vp::MBR, te::vp::PERIMETER, and te::da::Select::setGroupBy().
|
protected |
Definition at line 408 of file GeometricOpQuery.cpp.
References te::vp::AREA, te::vp::CENTROID, te::vp::CONVEX_HULL, te::da::GetFirstSpatialPropertyPos(), te::dt::CompositeProperty::getPropertyPosition(), te::vp::LINE, te::vp::MBR, and te::vp::PERIMETER.
|
protected |
Definition at line 274 of file GeometricOpQuery.cpp.
References te::vp::AREA, te::vp::CENTROID, te::vp::CONVEX_HULL, te::da::GetFirstSpatialPropertyPos(), te::dt::CompositeProperty::getPropertyPosition(), te::vp::LINE, te::vp::MBR, and te::vp::PERIMETER.
|
inherited |
Definition at line 48 of file GeometricOp.cpp.
Referenced by te::vp::GeometricOpWizard::execute().
|
inherited |
Definition at line 70 of file GeometricOp.cpp.
Referenced by te::vp::GeometricOpWizard::execute().
|
protected |
Definition at line 680 of file GeometricOpQuery.cpp.
References te::mem::DataSet::add(), te::dt::DOUBLE_TYPE, te::dt::GEOMETRY_TYPE, te::da::DataSet::getDouble(), te::da::DataSet::getGeometry(), te::gm::Geometry::getGeomTypeId(), te::da::DataSet::getInt16(), te::da::DataSet::getInt32(), te::da::DataSet::getInt64(), te::da::DataSet::getNumProperties(), te::da::DataSet::getPropertyDataType(), te::da::DataSet::getPropertyName(), te::gm::Geometry::getSRID(), te::da::DataSet::getString(), te::dt::INT16_TYPE, te::dt::INT32_TYPE, te::dt::INT64_TYPE, te::gm::Geometry::isValid(), te::gm::LineStringType, te::da::DataSet::moveBeforeFirst(), te::da::DataSet::moveNext(), te::gm::MultiLineStringType, te::gm::MultiPointType, te::gm::MultiPolygonType, te::gm::PointType, te::gm::PolygonType, te::mem::DataSetItem::setDouble(), te::mem::DataSetItem::setGeometry(), te::gm::GeometryCollection::setGeometryN(), te::mem::DataSetItem::setInt16(), te::mem::DataSetItem::setInt32(), te::mem::DataSetItem::setInt64(), te::mem::DataSetItem::setString(), and te::dt::STRING_TYPE.
|
inherited |
Definition at line 57 of file GeometricOp.cpp.
Referenced by te::vp::GeometricOpWizard::execute().
|
protectedinherited |
Definition at line 94 of file GeometricOp.h.
|
protectedinherited |
Definition at line 88 of file GeometricOp.h.
|
protectedinherited |
Definition at line 89 of file GeometricOp.h.
|
protectedinherited |
Definition at line 87 of file GeometricOp.h.
|
protectedinherited |
Definition at line 93 of file GeometricOp.h.
|
protectedinherited |
Definition at line 92 of file GeometricOp.h.
|
protectedinherited |
Definition at line 98 of file GeometricOp.h.
|
protectedinherited |
Definition at line 99 of file GeometricOp.h.
|
protectedinherited |
Definition at line 97 of file GeometricOp.h.
|
protectedinherited |
Definition at line 95 of file GeometricOp.h.
|
protectedinherited |
Definition at line 91 of file GeometricOp.h.