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);
225 const std::string& propertyName,
226 std::vector< std::vector<te::dt::AbstractData*> >& dataValues);
268 std::vector<std::size_t> dsPos,
269 const std::string& propertyName,
270 std::vector< std::vector<te::dt::AbstractData*> >& dataValues);
288 std::size_t fromSrid,
289 std::vector<std::size_t> dsPos,
290 const std::string& propertyName,
291 std::vector< std::vector<te::dt::AbstractData*> >& dataValues);
313 std::map<std::string, double> getPercentagePerClass(
te::da::DataSet* fromDs,
314 std::vector<std::size_t> dsPos,
315 const std::string& propertyName,
316 std::vector< std::vector<te::dt::AbstractData*> >& dataValues);
334 std::size_t fromSrid,
335 std::vector<std::size_t> dsPos,
336 const std::string& propertyName,
337 std::vector< std::vector<te::dt::AbstractData*> >& dataValues);
352 std::map<std::string, double> getPercentageOfEachClassByArea(
te::da::DataSet* toDs,
355 std::size_t fromSrid,
356 std::vector<std::size_t> dsPos,
357 const std::string& propertyName,
358 std::vector< std::vector<te::dt::AbstractData*> >& dataValues);
376 std::size_t fromSrid,
377 std::vector<std::size_t> dsPos,
378 const std::string& propertyName,
379 std::vector< std::vector<te::dt::AbstractData*> >& dataValues);
397 std::size_t fromSrid,
398 std::vector<std::size_t> dsPos,
399 const std::string& propertyName,
400 std::vector< std::vector<te::dt::AbstractData*> >& dataValues);
416 std::size_t fromSrid,
433 std::size_t fromSrid,
514 bool hasNoIntersectionOperations();
516 void normalizeClassName(std::string& name);
528 #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.
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.
A point with x and y coordinate values.
te::sam::kdtree::AdaptativeIndex< KD_ADAPTATIVE_NODE > KD_ADAPTATIVE_TREE
static te::dt::TimeDuration dt(20, 30, 50, 11)
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.
Configuration flags for the Attribute Fill module of TerraLib.
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
#define TEATTRIBUTEFILLEXPORT
You can use this macro in order to export/import classes and functions from this module.
A class that represents an Kd-tree node.
boost::intrusive_ptr< AbstractLayer > AbstractLayerPtr
OperationType
Define grouping operations type.