Utils.h File Reference

Utility functions for Vector Processing.
More...

#include "../dataaccess/datasource/DataSource.h"
#include "../geometry/CommonDataStructures.h"
#include "../geometry/Enums.h"
#include "../sam/rtree.h"
#include "Config.h"
#include "CommonDataStructures.h"
#include <map>
#include <string>

Go to the source code of this file.

Namespaces

 te
 TerraLib.
 
 te::da
 Namespace for the DataAccess API of TerraLib.
 
 te::gm
 Namespace for the Vector Geometry module of TerraLib.
 
 te::mem
 Namespace for the memory data source of TerraLib.
 
 te::vp
 Namespace for Vector Processing module of TerraLib.
 

Enumerations

enum  te::vp::Strategy { te::vp::MEMORY, te::vp::QUERY }
 

Functions

TEVPEXPORT te::vp::AbstractDataHandlerte::vp::CreateDataHandler (const std::string &dataHandlerName)
 
TEVPEXPORT std::unique_ptr< te::da::DataSette::vp::CreateDataSetFromFeatureSet (const std::string &dataSetName, const te::da::DataSetType *dataSetType, const te::vp::FeatureSet &featureSet)
 Creates a memory dataSet based on the given featureSet. More...
 
TEVPEXPORT te::da::DataSourcePtr te::vp::CreateOGRDataSource (std::string repository)
 
TEVPEXPORT te::vp::AbstractOperationte::vp::CreateOperation (const std::string &operationName)
 
TEVPEXPORT te::da::DataSourcePtr te::vp::CreateTemporaryDataSource ()
 Creates a data source located in the temporary folder of the user filesystem. More...
 
TEVPEXPORT void te::vp::DropTemporaryDataSource (te::da::DataSourcePtr dataSource)
 
TEVPEXPORT te::gm::GeometryVector te::vp::ExtractGeometriesFromFeatureSet (const te::vp::FeatureSet &featureSet)
 
TEVPEXPORT std::string te::vp::GetDistinctName (const std::string &name, std::vector< std::string > names, std::size_t maxSize=0)
 
TEVPEXPORT te::mem::DataSetItemte::vp::GetFilledItemMemory (te::da::DataSet *dataSet)
 It returns a memory item with all properties filled with values from the current position dataset. More...
 
TEVPEXPORT te::gm::Geometryte::vp::GetGeometryUnion (const std::vector< te::mem::DataSetItem *> &items, size_t geomIdx, te::gm::GeomType outGeoType)
 It returns the union of a geometry vector. More...
 
TEVPEXPORT te::gm::Geometryte::vp::GetGeometryUnion (const std::vector< te::mem::DataSetItem *> &items, size_t geomIdx)
 
TEVPEXPORT te::sam::rtree::Index< size_t, 8 > * te::vp::GetRtree (te::da::DataSet *data)
 
TEVPEXPORT std::string te::vp::GetSimpleTableName (std::string fullName)
 
TEVPEXPORT bool te::vp::IsLineStringType (const te::gm::GeomType &geomType)
 
TEVPEXPORT bool te::vp::IsPointType (const te::gm::GeomType &geomType)
 
TEVPEXPORT bool te::vp::IsPolygonType (const te::gm::GeomType &geomType)
 
TEVPEXPORT std::unique_ptr< te::da::DataSette::vp::PrepareAdd (te::da::DataSet *ds, te::da::DataSetType *dt)
 
TEVPEXPORT void te::vp::Save (te::da::DataSource *source, te::da::DataSet *result, te::da::DataSetType *outDsType, const bool &enableProgress=true)
 
TEVPEXPORT te::gm::Geometryte::vp::SetGeomAsMulti (const te::gm::Geometry &geom)
 
TEVPEXPORT void te::vp::SplitGeometryCollection (te::gm::GeometryCollection *geomIn, te::gm::GeometryCollection *gcOut)
 
TEVPEXPORT void te::vp::ValidateAlgorithmParams (AlgorithmParams *mainParams, Strategy st)
 

Detailed Description

Utility functions for Vector Processing.

Definition in file Utils.h.