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" 37 #include "../sam/rtree/Index.h" 68 namespace attributefill
103 void setParams(
const std::map<
te::dt::Property*, std::vector<std::string> >& options);
156 std::vector<std::string> getDistinctClasses(
te::da::DataSet* fromDs,
const std::string& propertyName);
204 std::vector<std::vector<te::dt::AbstractData*> > getDataValues(
te::da::DataSet* fromDs,
205 std::vector<std::size_t> dsPos);
214 std::vector<double> getNumValues(std::vector< std::vector<te::dt::AbstractData*> > dataValues, std::size_t pos);
223 std::vector<std::string> getStrValues(std::vector< std::vector<te::dt::AbstractData*> > dataValues, std::size_t pos);
226 const std::string& propertyName,
227 std::vector< std::vector<te::dt::AbstractData*> >& dataValues);
269 std::vector<std::size_t> dsPos,
270 const std::string& propertyName,
271 std::vector< std::vector<te::dt::AbstractData*> >& dataValues);
289 std::size_t fromSrid,
290 std::vector<std::size_t> dsPos,
291 const std::string& propertyName,
292 std::vector< std::vector<te::dt::AbstractData*> >& dataValues);
314 std::map<std::string, double> getPercentagePerClass(
te::da::DataSet* fromDs,
315 std::vector<std::size_t> dsPos,
316 const std::string& propertyName,
317 std::vector< std::vector<te::dt::AbstractData*> >& dataValues);
335 std::size_t fromSrid,
336 std::vector<std::size_t> dsPos,
337 const std::string& propertyName,
338 std::vector< std::vector<te::dt::AbstractData*> >& dataValues);
353 std::map<std::string, double> getPercentageOfEachClassByArea(
te::da::DataSet* toDs,
356 std::size_t fromSrid,
357 std::vector<std::size_t> dsPos,
358 const std::string& propertyName,
359 std::vector< std::vector<te::dt::AbstractData*> >& dataValues);
374 std::map<std::string, double> getTotalAreaByClass(
te::da::DataSet* toDs,
377 std::size_t fromSrid,
378 std::vector<std::size_t> dsPos,
379 const std::string& propertyName,
380 std::vector< std::vector<te::dt::AbstractData*> >& dataValues);
398 std::size_t fromSrid,
399 std::vector<std::size_t> dsPos,
400 const std::string& propertyName,
401 std::vector< std::vector<te::dt::AbstractData*> >& dataValues);
419 std::size_t fromSrid,
420 std::vector<std::size_t> dsPos,
421 const std::string& propertyName,
422 std::vector< std::vector<te::dt::AbstractData*> >& dataValues);
438 std::size_t fromSrid,
455 std::size_t fromSrid,
536 bool hasNoIntersectionOperations();
538 void normalizeClassName(std::string& name);
550 #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.