Namespace for Vector Processing module of TerraLib. More...
Namespaces | |
qt | |
Register | |
TiePointsLocator | |
Classes | |
class | AbstractDataHandler |
This abstract class represents handler to help reading and writing data from/to a dataSource by dividing it into smaller groups. More... | |
class | AbstractDataHandlerFactory |
class | AbstractOperation |
Abstract class used to define an operation. More... | |
class | AbstractOperationCapabilities |
Abstract class used to define the capabilities of the operation, inclusing number of inputs and outputs. More... | |
class | AbstractParameters |
Abstract class used to define the input/ ouptut parameters for TerraAmazon Operations. More... | |
class | AbstractTillingStrategy |
class | Algorithm |
Define input/output parameters for an operation. More... | |
class | AlgorithmParams |
class | AttributeGroupingDataHandler |
class | AttributeGroupingDataHandlerFactory |
class | BufferDialog |
class | BufferMemory |
A concrete class to compute the buffer operation. More... | |
class | BufferOp |
An abstract class to compute the buffer memory and buffer query operation. More... | |
class | BufferQuery |
A concrete class to compute the buffer operation. More... | |
class | CheckGeomValidityDialog |
A dialog used to check geometries validity. More... | |
class | ComplexData |
A template for complex data types. More... | |
struct | DataStruct |
Get a list of AbstractLayer filtered by the name;. More... | |
class | Difference |
class | DifferenceDialog |
A dialog used to execute vector difference. More... | |
class | DifferenceOperation |
Represents a difference operation between two sets of features. More... | |
class | DifferenceOperationFactory |
class | Dissolve |
class | DissolveCellSubdivision |
Algorithm dedicated to dissolve the borders of a cell subdivision. More... | |
class | DissolveDialog |
class | DissolveOperation |
Represents an dissolve operation. More... | |
class | DissolveOperationCapabilities |
class | DissolveOperationFactory |
class | DissolveOperationParameters |
class | DissolveSubdivideDataHandler |
class | DissolveSubdivideDataHandlerFactory |
class | DissolveSubdivisionOperation |
class | DissolveSubdivisionOperationCapabilities |
class | DissolveSubdivisionOperationFactory |
class | DissolveSubdivisionOperationParameters |
class | Feature |
A feature is a composition of a geometry and its attributes. More... | |
class | FeatureSet |
An alias for a set of Features. More... | |
class | GeometricOp |
class | GeometricOpDialog |
This class is GUI used to define the wizard for the VP geometric operation. More... | |
class | GeometricOpMemory |
class | GeometricOpQuery |
class | GeometryInfo |
class | GeometrySnapper |
Algorithm to snap geometries to each other based on a given tolerance. More... | |
class | GroupThreadManager |
class | Identity |
class | IdentityDialog |
A dialog used to execute vector identity. More... | |
class | IdentityOperation |
class | IdentityOperationFactory |
class | IndexContainer |
class | IndexData |
class | IndexReport |
struct | InputParams |
A structure to hold the input parameters of vector processing. More... | |
class | Intersection |
class | IntersectionDialog |
A dialog used to execute vector intersection. More... | |
class | IntersectionMemory |
class | IntersectionOp |
class | IntersectionOperation |
Represents an intersection operation between two sets of features. More... | |
class | IntersectionOperationFactory |
class | IntersectionQuery |
class | KDTreeMultiIndex |
class | LineToPolygonDialog |
class | LineToPolygonMemory |
class | LineToPolygonOp |
class | LineToPolygonQuery |
class | MakeGeometryValid |
A static class with methods to make geometry valid. More... | |
class | MakeValidOperation |
Represents a make valid operation which analyses and fixes features of a set. More... | |
class | MakeValidOperationFactory |
class | Merge |
class | MergeDialog |
class | MultipartToSinglepart |
class | MultipartToSinglepartDialog |
class | NoGroupingDataHandler |
This class represents handler to help reading and writing data from/to a dataSource using one group only (all data will be returned) More... | |
class | NoGroupingDataHandlerFactory |
class | OperationFactory |
Abstract factory used to create Operations. More... | |
class | OperationReport |
Class used as a report logger for Operations. More... | |
class | OperationService |
Represents a service containing useful functions related to an operation. More... | |
class | OperationThreadManager |
class | OperationThreadManagerListener |
class | OverlapFixer |
OverlapFixerReport is a class containing algorithms to detect and fix overlaps from a list of polygons or multipolygons. More... | |
class | OverlapFixerReport |
OverlapFixerReport represents the report of the fix operation, for each input geometry and for the generated intersection fragments. More... | |
class | PolygonSubdivider |
Algorithm to subdivide polygons based on a cell tilling and merge them back to their original format. More... | |
class | PolygonToLineDialog |
class | PolygonToLineMemory |
class | PolygonToLineOp |
class | PolygonToLineQuery |
class | RegisterDialog |
class | RTreeIndex |
This class makes easier and more generic the use of the te::sam::rtree::Index. More... | |
class | SegmentInfo |
class | SubdivideByBorderTillingStrategy |
class | SubdivideDataHandler |
class | SubdivideDataHandlerFactory |
class | SubdivideKey |
class | SubdivideOperation |
This operation subdivides geometries ensuring that they don't have more than the given number of coordinates. More... | |
class | SubdivideOperationCapabilities |
class | SubdivideOperationFactory |
class | SubdivideOperationParameters |
class | SubdividerTilling |
Algorithm to help controlling creating and iterating in a tile. More... | |
class | TiePointsLocatorDialog |
class | Union |
class | UnionDialog |
A dialog used to execute vector union. More... | |
class | UnionOperation |
Represents an IDENTITY operation between two sets of features. More... | |
class | UnionOperationFactory |
class | UnorderedGroupingDataHandler |
class | UnorderedGroupingDataHandlerFactory |
Typedefs | |
using | GeometryPair = std::pair< te::gm::GeometryPtr, te::gm::GeometryPtr > |
Functions | |
TEVPEXPORT te::gm::GeometryVector | AdjustToGeomType (const te::gm::Geometry *geometry, te::gm::GeomType geomType) |
Adjust the given geometry to the given geometry type. If the conversion is not possible, the geometry is discarded. More... | |
TEVPEXPORT te::gm::GeometryVector | AdjustToGeomType (const te::gm::GeometryVector &vecGeometries, te::gm::GeomType geomType) |
TEVPEXPORT te::vp::AbstractDataHandler * | CreateDataHandler (const std::string &dataHandlerName) |
TEVPEXPORT std::unique_ptr< te::da::DataSet > | 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::vp::qt::VectorProcessingDialogCapabilities * | CreateDialogCapabilities (const std::string &operationName) |
TEVPEXPORT te::da::DataSourcePtr | CreateOGRDataSource (std::string repository) |
TEVPEXPORT te::vp::AbstractOperation * | CreateOperation (const std::string &operationName) |
TEVPEXPORT te::da::DataSourcePtr | CreateTemporaryDataSource () |
Creates a data source located in the temporary folder of the user filesystem. More... | |
TEVPEXPORT void | DiscardFeaturesWithNullAndEmptyGeometries (te::vp::FeatureSet &featureSet) |
Splits all feature that have geometry collections in to features that have single type geometries. All the attributes are copied. More... | |
TEVPEXPORT void | DropTemporaryDataSource (te::da::DataSourcePtr dataSource) |
TEVPEXPORT te::gm::GeometryVector | ExtractGeometriesFromFeatureSet (const te::vp::FeatureSet &featureSet) |
Gets the GeometryVector from the given FeatureSet. The caller must NOT free the memory after using the resulting geometry vector as this method returns the reference to the geometries. More... | |
std::vector< te::gm::Geometry * > | ExtractGeometry (te::gm::Geometry &inputGeometry, const te::gm::GeomType &outputGeomType) |
TEVPEXPORT te::gm::SpatialRelation | FastRelationCalculator (const te::gm::Geometry *geometryA, const te::gm::Geometry *geometryB) |
Algorithm to fast detection of spatial relations between geometries. Very useful to fase dectect if two geomtries dont intercept themselves Sometimes can generate false positives for overlaps, but never generates false positives for disjoint and touches. More... | |
TEVPEXPORT te::gm::SpatialRelation | FastRelationCalculator (const te::vp::GeometryInfo *geometryInfoA, const te::vp::GeometryInfo *geometryInfoB) |
Algorithm to fast detection of spatial relations between geometries. Very useful to fase dectect if two geomtries dont intercept themselves Sometimes can generate false positives for overlaps, but never generates false positives for disjoint and touches. More... | |
TEVPEXPORT void | GetAllSegments (const te::gm::Geometry *geometry, const te::gm::Envelope &filter, std::vector< SegmentInfo > &vecSegmentInfo) |
Gets the segment information related to all segments from the given geometry. An Optional filter can be used to filter the segments that will be returned. More... | |
DataStruct | GetDataStructFromLayer (te::map::AbstractLayerPtr layer, bool onlySelectedObjects, int srid=0) |
std::vector< std::string > | GetDissolveProps (const std::map< std::string, te::dt::AbstractData * > &specificParams) |
TEVPEXPORT std::string | GetDistinctName (const std::string &name, std::vector< std::string > names, std::size_t maxSize=0) |
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. More... | |
std::list< te::map::AbstractLayerPtr > | GetFilteredLayers (std::string text, std::list< te::map::AbstractLayerPtr > layers) |
Get a list of AbstractLayer filtered by the name;. More... | |
TEVPEXPORT te::gm::GeometryVectorConst | GetGeometriesFromFeatureSet (const te::vp::FeatureSet &featureSet) |
TEVPEXPORT te::gm::Geometry * | GetGeometryUnion (const std::vector< te::mem::DataSetItem * > &items, size_t geomIdx) |
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. More... | |
te::da::DataSetType * | GetOutputDataSetType (te::vp::AlgorithmParams *mainParams) |
TEVPEXPORT te::sam::rtree::Index< size_t, 8 > * | GetRtree (te::da::DataSet *data) |
te::da::Select * | GetSelectQueryFromLayer (te::map::AbstractLayerPtr layer, bool onlySelectedObjects, int srid=0) |
TEVPEXPORT std::string | GetSimpleTableName (std::string fullName) |
std::map< te::dt::Property *, std::vector< te::stat::StatisticalSummary > > | GetSummaryProps (const std::map< std::string, te::dt::AbstractData * > &specificParams) |
bool | IsCollection (const std::map< std::string, te::dt::AbstractData * > &specificParams) |
TEVPEXPORT bool | IsLineStringType (const te::gm::GeomType &geomType) |
TEVPEXPORT bool | IsPointType (const te::gm::GeomType &geomType) |
TEVPEXPORT bool | IsPolygonType (const te::gm::GeomType &geomType) |
bool | IsProjectionLatLong (const int &srid) |
TEVPEXPORT void | Multi2Single (const te::vp::Feature *feature, te::vp::FeatureSet &singleFeatureSet) |
Splits all the features that have geometry collections in to features that have single type geometries. All the attributes are copied. More... | |
TEVPEXPORT void | Multi2Single (const te::vp::FeatureSet &featureSet, te::vp::FeatureSet &singleFeatureSet) |
Adjust the given geometry to the given geometry type. If the conversion is not possible, the geometry is discarded. More... | |
void | PopulateItems (const te::da::DataSetType *inputDataSetType, const std::vector< te::mem::DataSetItem * > inputItens, const std::map< std::string, te::dt::AbstractData * > specificParams, std::vector< te::mem::DataSetItem * > &outputItemVec) |
TEVPEXPORT std::unique_ptr< te::da::DataSet > | PrepareAdd (te::da::DataSet *ds, te::da::DataSetType *dt) |
TEVPEXPORT void | Save (te::da::DataSource *source, te::da::DataSet *result, te::da::DataSetType *outDsType, const bool &enableProgress=true) |
TEVPEXPORT te::gm::Geometry * | SetGeomAsMulti (const te::gm::Geometry &geom) |
te::gm::GeomType | SetGeomResultType (const te::gm::GeomType &geomType, const bool &isCollection) |
TEVPEXPORT void | SplitGeometryCollection (te::gm::GeometryCollection *geomIn, te::gm::GeometryCollection *gcOut) |
TEVPEXPORT void | ValidateAlgorithmParams (AlgorithmParams *mainParams, Strategy st) |
Namespace for Vector Processing module of TerraLib.
using te::vp::GeometryPair = typedef std::pair<te::gm::GeometryPtr, te::gm::GeometryPtr> |
Definition at line 50 of file OperationService.h.
Define grouping functions type.
enum te::vp::MemoryUse |
|
strong |
Enumerator | |
---|---|
OP_NOT_STARTED | |
OP_SUCCESS | |
OP_CANCELLED | |
OP_ERROR |
Definition at line 53 of file AbstractOperation.h.
|
strong |
Enumerator | |
---|---|
PRE_PROCESSING_STARTED | |
PRE_PROCESSING_FINISHED | |
PROCESSING_STARTED | |
PROCESSING_FINISHED | |
POST_PROCESSING_STARTED | |
POST_PROCESSING_FINISHED | |
CANCEL_REQUESTED |
Definition at line 37 of file OperationThreadManagerListener.h.
enum te::vp::Strategy |
TEVPEXPORT te::gm::GeometryVector te::vp::AdjustToGeomType | ( | const te::gm::Geometry * | geometry, |
te::gm::GeomType | geomType | ||
) |
Adjust the given geometry to the given geometry type. If the conversion is not possible, the geometry is discarded.
TEVPEXPORT te::gm::GeometryVector te::vp::AdjustToGeomType | ( | const te::gm::GeometryVector & | vecGeometries, |
te::gm::GeomType | geomType | ||
) |
TEVPEXPORT te::vp::AbstractDataHandler* te::vp::CreateDataHandler | ( | const std::string & | dataHandlerName | ) |
TEVPEXPORT std::unique_ptr<te::da::DataSet> te::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.
dataSetName | The name of the dataSet |
dataSetType | The dataSetType of the dataSet |
featureSet | The featureSet to be converted |
TEVPEXPORT te::vp::qt::VectorProcessingDialogCapabilities* te::vp::CreateDialogCapabilities | ( | const std::string & | operationName | ) |
TEVPEXPORT te::da::DataSourcePtr te::vp::CreateOGRDataSource | ( | std::string | repository | ) |
TEVPEXPORT te::vp::AbstractOperation* te::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.
TEVPEXPORT void te::vp::DiscardFeaturesWithNullAndEmptyGeometries | ( | te::vp::FeatureSet & | featureSet | ) |
Splits all feature that have geometry collections in to features that have single type geometries. All the attributes are copied.
TEVPEXPORT void te::vp::DropTemporaryDataSource | ( | te::da::DataSourcePtr | dataSource | ) |
TEVPEXPORT te::gm::GeometryVector te::vp::ExtractGeometriesFromFeatureSet | ( | const te::vp::FeatureSet & | featureSet | ) |
Gets the GeometryVector from the given FeatureSet. The caller must NOT free the memory after using the resulting geometry vector as this method returns the reference to the geometries.
std::vector<te::gm::Geometry*> te::vp::ExtractGeometry | ( | te::gm::Geometry & | inputGeometry, |
const te::gm::GeomType & | outputGeomType | ||
) |
TEVPEXPORT te::gm::SpatialRelation te::vp::FastRelationCalculator | ( | const te::gm::Geometry * | geometryA, |
const te::gm::Geometry * | geometryB | ||
) |
Algorithm to fast detection of spatial relations between geometries. Very useful to fase dectect if two geomtries dont intercept themselves Sometimes can generate false positives for overlaps, but never generates false positives for disjoint and touches.
geometryA | The input geometry A |
geometryB | The input geometry B |
TEVPEXPORT te::gm::SpatialRelation te::vp::FastRelationCalculator | ( | const te::vp::GeometryInfo * | geometryInfoA, |
const te::vp::GeometryInfo * | geometryInfoB | ||
) |
Algorithm to fast detection of spatial relations between geometries. Very useful to fase dectect if two geomtries dont intercept themselves Sometimes can generate false positives for overlaps, but never generates false positives for disjoint and touches.
geometryA | The input geometry A |
geometryB | The input geometry B |
TEVPEXPORT void te::vp::GetAllSegments | ( | const te::gm::Geometry * | geometry, |
const te::gm::Envelope & | filter, | ||
std::vector< SegmentInfo > & | vecSegmentInfo | ||
) |
Gets the segment information related to all segments from the given geometry. An Optional filter can be used to filter the segments that will be returned.
geometry | The geometry to be analysed |
filter | The optional filter |
vecSegmentInfo | [Return] The segments from the given geometry. The return is a parameter to make easier to create a list containing segments from several geometries |
DataStruct te::vp::GetDataStructFromLayer | ( | te::map::AbstractLayerPtr | layer, |
bool | onlySelectedObjects, | ||
int | srid = 0 |
||
) |
std::vector<std::string> te::vp::GetDissolveProps | ( | const std::map< std::string, te::dt::AbstractData * > & | specificParams | ) |
TEVPEXPORT std::string te::vp::GetDistinctName | ( | const std::string & | name, |
std::vector< std::string > | names, | ||
std::size_t | maxSize = 0 |
||
) |
TEVPEXPORT te::mem::DataSetItem* te::vp::GetFilledItemMemory | ( | te::da::DataSet * | dataSet | ) |
It returns a memory item with all properties filled with values from the current position dataset.
dataSet | DataSet in the current position to get values. |
std::list<te::map::AbstractLayerPtr> te::vp::GetFilteredLayers | ( | std::string | text, |
std::list< te::map::AbstractLayerPtr > | layers | ||
) |
Get a list of AbstractLayer filtered by the name;.
text | Text that the filter is based. |
layers | List of layer to filter. |
TEVPEXPORT te::gm::GeometryVectorConst te::vp::GetGeometriesFromFeatureSet | ( | const te::vp::FeatureSet & | featureSet | ) |
TEVPEXPORT te::gm::Geometry* te::vp::GetGeometryUnion | ( | const std::vector< te::mem::DataSetItem * > & | items, |
size_t | geomIdx | ||
) |
TEVPEXPORT te::gm::Geometry* te::vp::GetGeometryUnion | ( | const std::vector< te::mem::DataSetItem * > & | items, |
size_t | geomIdx, | ||
te::gm::GeomType | outGeoType | ||
) |
It returns the union of a geometry vector.
items | Vector of itens that represents a group. |
te::da::DataSetType* te::vp::GetOutputDataSetType | ( | te::vp::AlgorithmParams * | mainParams | ) |
TEVPEXPORT te::sam::rtree::Index<size_t, 8>* te::vp::GetRtree | ( | te::da::DataSet * | data | ) |
te::da::Select* te::vp::GetSelectQueryFromLayer | ( | te::map::AbstractLayerPtr | layer, |
bool | onlySelectedObjects, | ||
int | srid = 0 |
||
) |
TEVPEXPORT std::string te::vp::GetSimpleTableName | ( | std::string | fullName | ) |
std::map<te::dt::Property*, std::vector<te::stat::StatisticalSummary> > te::vp::GetSummaryProps | ( | const std::map< std::string, te::dt::AbstractData * > & | specificParams | ) |
bool te::vp::IsCollection | ( | const std::map< std::string, te::dt::AbstractData * > & | specificParams | ) |
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 | ) |
bool te::vp::IsProjectionLatLong | ( | const int & | srid | ) |
TEVPEXPORT void te::vp::Multi2Single | ( | const te::vp::Feature * | feature, |
te::vp::FeatureSet & | singleFeatureSet | ||
) |
Splits all the features that have geometry collections in to features that have single type geometries. All the attributes are copied.
TEVPEXPORT void te::vp::Multi2Single | ( | const te::vp::FeatureSet & | featureSet, |
te::vp::FeatureSet & | singleFeatureSet | ||
) |
Adjust the given geometry to the given geometry type. If the conversion is not possible, the geometry is discarded.
void te::vp::PopulateItems | ( | const te::da::DataSetType * | inputDataSetType, |
const std::vector< te::mem::DataSetItem * > | inputItens, | ||
const std::map< std::string, te::dt::AbstractData * > | specificParams, | ||
std::vector< te::mem::DataSetItem * > & | outputItemVec | ||
) |
TEVPEXPORT std::unique_ptr<te::da::DataSet> te::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::Geometry* te::vp::SetGeomAsMulti | ( | const te::gm::Geometry & | geom | ) |
te::gm::GeomType te::vp::SetGeomResultType | ( | const te::gm::GeomType & | geomType, |
const bool & | isCollection | ||
) |
TEVPEXPORT void te::vp::SplitGeometryCollection | ( | te::gm::GeometryCollection * | geomIn, |
te::gm::GeometryCollection * | gcOut | ||
) |
TEVPEXPORT void te::vp::ValidateAlgorithmParams | ( | AlgorithmParams * | mainParams, |
Strategy | st | ||
) |