28 #ifndef __TERRALIB_ADDRESSGEOCODING_INTERNAL_ADDRESSGEOCODING_OP_H
29 #define __TERRALIB_ADDRESSGEOCODING_INTERNAL_ADDRESSGEOCODING_OP_H
33 #include "../dataaccess/dataset/DataSet.h"
34 #include "../dataaccess/dataset/DataSetType.h"
35 #include "../dataaccess/dataset/ObjectIdSet.h"
36 #include "../dataaccess/datasource/DataSource.h"
38 #include "../datatype/Property.h"
40 #include "../memory/DataSet.h"
41 #include "../statistics/core/Enums.h"
53 namespace addressgeocoding
64 std::string inDsetName,
67 std::string inAddressDsetName);
69 void setParams( std::vector<std::string> associatedProps,
70 std::string streetNumber);
72 void setNumAttributes(std::string initialLeft,
73 std::string finalLeft,
74 std::string initialRight,
75 std::string finalRight);
78 std::string m_outDsetName);
80 bool paramsAreValid();
86 bool save(std::auto_ptr<te::mem::DataSet> result, std::auto_ptr<te::da::DataSetType> outDsetName);
88 std::auto_ptr<te::da::DataSetType> getOutputDataSetType();
92 void getLines(
te::gm::Geometry* geom, std::vector<te::gm::LineString*>& lines);
117 #endif // __TERRALIB_ADDRESSGEOCODING_INTERNAL_ADDRESSGEOCODING_OP_H
std::string m_initialRight
Configuration flags for the Terrralib Address Geocoding module.
std::string m_inAddressDsetName
boost::shared_ptr< DataSource > DataSourcePtr
std::string m_streetNumber
File attribute that represents the address number.
std::vector< std::string > m_associatedProps
File attributes.
te::da::DataSourcePtr m_inAddressDsrc
LineString is a curve with linear interpolation between points.
te::da::DataSourcePtr m_inDsrc
std::string m_outDsetName
Geometry is the root class of the geometries hierarchy, it follows OGC and ISO standards.
te::da::DataSourcePtr m_outDsrc
It is a collection of other geometric objects.
#define TEADDRESSGEOCODINGEXPORT
You can use this macro in order to export/import classes and functions from this module.
std::string m_initialLeft