26 #ifndef __TERRALIB_ATTRIBUTEFILL_INTERNAL_VECTORTOVECTORMEMORY_H
27 #define __TERRALIB_ATTRIBUTEFILL_INTERNAL_VECTORTOVECTORMEMORY_H
30 #include "../dataaccess/dataset/DataSet.h"
31 #include "../dataaccess/dataset/DataSetType.h"
32 #include "../dataaccess/datasource/DataSource.h"
33 #include "../datatype/Property.h"
34 #include "../maptools/AbstractLayer.h"
35 #include "../memory/DataSet.h"
36 #include "../sam/kdtree.h"
67 namespace attributefill
102 void setParams(
const std::map<
te::dt::Property*, std::vector<std::string> >& options);
155 std::vector<std::string> getDistinctClasses(
te::da::DataSet* fromDs,
const std::string& propertyName);
203 std::vector<std::vector<te::dt::AbstractData*> > getDataValues(
te::da::DataSet* fromDs,
204 std::vector<std::size_t> dsPos);
213 std::vector<double> getNumValues(std::vector< std::vector<te::dt::AbstractData*> > dataValues, std::size_t pos);
222 std::vector<std::string> getStrValues(std::vector< std::vector<te::dt::AbstractData*> > dataValues, std::size_t pos);
264 std::vector<std::size_t> dsPos,
265 const std::string& propertyName,
266 std::vector< std::vector<te::dt::AbstractData*> >& dataValues);
284 std::size_t fromSrid,
285 std::vector<std::size_t> dsPos,
286 const std::string& propertyName,
287 std::vector< std::vector<te::dt::AbstractData*> >& dataValues);
309 std::map<std::string, double> getPercentagePerClass(
te::da::DataSet* fromDs,
310 std::vector<std::size_t> dsPos,
311 const std::string& propertyName,
312 std::vector< std::vector<te::dt::AbstractData*> >& dataValues);
330 std::size_t fromSrid,
331 std::vector<std::size_t> dsPos,
332 const std::string& propertyName,
333 std::vector< std::vector<te::dt::AbstractData*> >& dataValues);
348 std::map<std::string, double> getPercentageOfEachClassByArea(
te::da::DataSet* toDs,
351 std::size_t fromSrid,
352 std::vector<std::size_t> dsPos,
353 const std::string& propertyName,
354 std::vector< std::vector<te::dt::AbstractData*> >& dataValues);
372 std::size_t fromSrid,
373 std::vector<std::size_t> dsPos,
374 const std::string& propertyName,
375 std::vector< std::vector<te::dt::AbstractData*> >& dataValues);
393 std::size_t fromSrid,
394 std::vector<std::size_t> dsPos,
395 const std::string& propertyName,
396 std::vector< std::vector<te::dt::AbstractData*> >& dataValues);
412 std::size_t fromSrid,
492 bool hasNoIntersectionOperations();
494 void normalizeClassName(std::string& name);
504 #endif // __TERRALIB_ATTRIBUTEFILL_INTERNAL_VECTORTOVECTORMEMORY_H
A structure to hold the set of statistics from a set of numerical values.
GeomType
Each enumerated type is compatible with a Well-known Binary (WKB) type code.
Configuration flags for the Attribute Fill module of TerraLib.
boost::shared_ptr< DataSource > DataSourcePtr
A class that represents an R-tree.
A class that models the description of a dataset.
A class that represents a two dimensional K-d Tree (2-d Tree) that store data-elements into the leafs...
te::sam::kdtree::AdaptativeNode< te::gm::Coord2D, std::vector< te::gm::Point >, te::gm::Point > KD_ADAPTATIVE_NODE
It models a property definition.
#define TEATTRIBUTEFILLEXPORT
You can use this macro in order to export/import classes and functions from this module.
A point with x and y coordinate values.
te::sam::kdtree::AdaptativeIndex< KD_ADAPTATIVE_NODE > KD_ADAPTATIVE_TREE
A base class for values that can be retrieved from the data access module.
Geometry is the root class of the geometries hierarchy, it follows OGC and ISO standards.
A dataset is the unit of information manipulated by the data access module of TerraLib.
A structure to hold the set of statistics from a set of categorical (sample) values.
Vector To Vector operation.
std::map< std::size_t, te::gm::Geometry * > m_mapGeom
A class that represents an Kd-tree node.
boost::intrusive_ptr< AbstractLayer > AbstractLayerPtr
OperationType
Define grouping operations type.