#include <AddressGeocodingOp.h>
Public Member Functions | |
AddressGeocodingOp () | |
bool | paramsAreValid () |
bool | run () |
void | setInput (te::da::DataSourcePtr inDsrc, std::string inDsetName, int inSRID, te::da::DataSourcePtr inAddressDsrc, std::string inAddressDsetName) |
void | setNumAttributes (std::string initialLeft, std::string finalLeft, std::string initialRight, std::string finalRight) |
void | setOutput (te::da::DataSourcePtr outDsrc, std::string m_outDsetName) |
void | setParams (std::vector< std::string > associatedProps, std::string streetNumber) |
~AddressGeocodingOp () | |
Protected Member Functions | |
void | getLines (te::gm::Geometry *geom, std::vector< te::gm::LineString * > &lines) |
void | getLines (te::gm::GeometryCollection *gc, std::vector< te::gm::LineString * > &lines) |
void | getLines (te::gm::LineString *l, std::vector< te::gm::LineString * > &lines) |
te::gm::LineString * | getLineString (te::gm::Geometry *geom) |
std::auto_ptr < te::da::DataSetType > | getOutputDataSetType () |
bool | save (std::auto_ptr< te::mem::DataSet > result, std::auto_ptr< te::da::DataSetType > outDsetName) |
Protected Attributes | |
std::vector< std::string > | m_associatedProps |
File attributes. More... | |
std::string | m_finalLeft |
std::string | m_finalRight |
std::string | m_inAddressDsetName |
te::da::DataSourcePtr | m_inAddressDsrc |
std::string | m_inDsetName |
te::da::DataSourcePtr | m_inDsrc |
std::string | m_initialLeft |
std::string | m_initialRight |
int | m_inSRID |
std::string | m_outDsetName |
te::da::DataSourcePtr | m_outDsrc |
std::string | m_streetNumber |
File attribute that represents the address number. More... | |
Definition at line 55 of file AddressGeocodingOp.h.
te::addressgeocoding::AddressGeocodingOp::AddressGeocodingOp | ( | ) |
Definition at line 53 of file AddressGeocodingOp.cpp.
|
inline |
Definition at line 61 of file AddressGeocodingOp.h.
|
protected |
Definition at line 390 of file AddressGeocodingOp.cpp.
References te::gm::Geometry::getGeomTypeId(), te::gm::LineStringType, and te::gm::MultiLineStringType.
|
protected |
Definition at line 410 of file AddressGeocodingOp.cpp.
References te::gm::GeometryCollection::getGeometryN(), and te::gm::GeometryCollection::getNumGeometries().
|
protected |
Definition at line 418 of file AddressGeocodingOp.cpp.
|
protected |
Definition at line 374 of file AddressGeocodingOp.cpp.
References te::gm::Geometry::Union().
|
protected |
Definition at line 346 of file AddressGeocodingOp.cpp.
References te::dt::GEOMETRY_TYPE, te::gm::GeometryProperty::getSRID(), te::gm::PointType, te::gm::GeometryProperty::setGeometryType(), and te::gm::GeometryProperty::setSRID().
bool te::addressgeocoding::AddressGeocodingOp::paramsAreValid | ( | ) |
Definition at line 95 of file AddressGeocodingOp.cpp.
Referenced by te::addressgeocoding::MainWindowDialog::onOkPushButtonClicked().
bool te::addressgeocoding::AddressGeocodingOp::run | ( | ) |
Definition at line 111 of file AddressGeocodingOp.cpp.
References te::dt::DOUBLE_TYPE, te::dt::GEOMETRY_TYPE, te::dt::Property::getName(), te::dt::INT16_TYPE, te::dt::INT32_TYPE, te::dt::INT64_TYPE, te::gm::locateAlong(), te::dt::NUMERIC_TYPE, te::common::ReplaceSpecialChars(), and te::mem::DataSetItem::setValue().
Referenced by te::addressgeocoding::MainWindowDialog::onOkPushButtonClicked().
|
protected |
Definition at line 319 of file AddressGeocodingOp.cpp.
References te::da::PrimaryKey::add(), te::da::CreateAdapter(), and te::da::DataSetTypeConverter::getResult().
void te::addressgeocoding::AddressGeocodingOp::setInput | ( | te::da::DataSourcePtr | inDsrc, |
std::string | inDsetName, | ||
int | inSRID, | ||
te::da::DataSourcePtr | inAddressDsrc, | ||
std::string | inAddressDsetName | ||
) |
Definition at line 58 of file AddressGeocodingOp.cpp.
Referenced by te::addressgeocoding::MainWindowDialog::onOkPushButtonClicked().
void te::addressgeocoding::AddressGeocodingOp::setNumAttributes | ( | std::string | initialLeft, |
std::string | finalLeft, | ||
std::string | initialRight, | ||
std::string | finalRight | ||
) |
Definition at line 78 of file AddressGeocodingOp.cpp.
Referenced by te::addressgeocoding::MainWindowDialog::onOkPushButtonClicked().
void te::addressgeocoding::AddressGeocodingOp::setOutput | ( | te::da::DataSourcePtr | outDsrc, |
std::string | m_outDsetName | ||
) |
Definition at line 89 of file AddressGeocodingOp.cpp.
Referenced by te::addressgeocoding::MainWindowDialog::onOkPushButtonClicked().
void te::addressgeocoding::AddressGeocodingOp::setParams | ( | std::vector< std::string > | associatedProps, |
std::string | streetNumber | ||
) |
Definition at line 71 of file AddressGeocodingOp.cpp.
Referenced by te::addressgeocoding::MainWindowDialog::onOkPushButtonClicked().
|
protected |
File attributes.
Definition at line 104 of file AddressGeocodingOp.h.
|
protected |
Definition at line 108 of file AddressGeocodingOp.h.
|
protected |
Definition at line 110 of file AddressGeocodingOp.h.
|
protected |
Definition at line 102 of file AddressGeocodingOp.h.
|
protected |
Definition at line 101 of file AddressGeocodingOp.h.
|
protected |
Definition at line 99 of file AddressGeocodingOp.h.
|
protected |
Definition at line 98 of file AddressGeocodingOp.h.
|
protected |
Definition at line 107 of file AddressGeocodingOp.h.
|
protected |
Definition at line 109 of file AddressGeocodingOp.h.
|
protected |
Definition at line 100 of file AddressGeocodingOp.h.
|
protected |
Definition at line 113 of file AddressGeocodingOp.h.
|
protected |
Definition at line 112 of file AddressGeocodingOp.h.
|
protected |
File attribute that represents the address number.
Definition at line 105 of file AddressGeocodingOp.h.