26 #ifndef __TERRALIB_VP_INTERNAL_UTILS_H 27 #define __TERRALIB_VP_INTERNAL_UTILS_H 30 #include "../dataaccess/dataset/DataSet.h" 31 #include "../dataaccess/dataset/DataSetType.h" 32 #include "../dataaccess/datasource/DataSource.h" 34 #include "../geometry/Geometry.h" 35 #include "../geometry/GeometryCollection.h" 36 #include "../geometry/Utils.h" 38 #include "../maptools/AbstractLayer.h" 40 #include "../memory/DataSet.h" 41 #include "../memory/DataSetItem.h" 43 #include "../sam/rtree.h" 55 class AlgorithmParams;
111 #endif // __TERRALIB_VP_INTERNAL_UTILS_H #define TEVPEXPORT
You can use this macro in order to export/import classes and functions from this module.
GeomType
Each enumerated type is compatible with a Well-known Binary (WKB) type code.
TEVPEXPORT te::da::DataSourcePtr CreateOGRDataSource(std::string repository)
boost::shared_ptr< DataSource > DataSourcePtr
A class that represents an R-tree.
A class that models the description of a dataset.
TEVPEXPORT void ValidateAlgorithmParams(AlgorithmParams *mainParams, Strategy st)
TEVPEXPORT void Save(te::da::DataSource *source, te::da::DataSet *result, te::da::DataSetType *outDsType, const bool &enableProgress=true)
An abstract class for data providers like a DBMS, Web Services or a regular file. ...
TEVPEXPORT void SplitGeometryCollection(te::gm::GeometryCollection *geomIn, te::gm::GeometryCollection *gcOut)
TEVPEXPORT bool IsLineStringType(const te::gm::GeomType &geomType)
TEVPEXPORT te::mem::DataSetItem * GetFilledItemMemory(te::da::DataSet *dataSet)
It returns a memory item with all properties filled with values from the current position dataset...
TEVPEXPORT std::string GetDistinctName(const std::string &name, std::vector< std::string > names, std::size_t maxSize=0)
TEVPEXPORT te::gm::Geometry * SetGeomAsMulti(const te::gm::Geometry &geom)
TEVPEXPORT std::string GetSimpleTableName(std::string fullName)
Geometry is the root class of the geometries hierarchy, it follows OGC and ISO standards.
TEVPEXPORT bool IsPolygonType(const te::gm::GeomType &geomType)
An implementation of the DatasetItem class for the TerraLib In-Memory Data Access driver...
A dataset is the unit of information manipulated by the data access module of TerraLib.
TEVPEXPORT bool IsPointType(const te::gm::GeomType &geomType)
Configuration flags for the Terrralib Vector Processing module.
TEVPEXPORT te::sam::rtree::Index< size_t, 8 > * GetRtree(te::da::DataSet *data)
It is a collection of other geometric objects.
TEVPEXPORT te::gm::Geometry * GetGeometryUnion(const std::vector< te::mem::DataSetItem *> &items, size_t geomIdx, te::gm::GeomType outGeoType)
It returns the union of a geometry vector.
TEVPEXPORT std::unique_ptr< te::da::DataSet > PrepareAdd(te::da::DataSet *ds, te::da::DataSetType *dt)