Namespace for Vector Processing module of TerraLib. More...
Enumerations | |
enum | BoundariesBetweenBuffers { DISSOLVE, NOT_DISSOLVE } |
Define the boundaries between buffers. More... | |
enum | GeometricOperation { CONVEX_HULL, CENTROID, MBR, AREA, LINE, PERIMETER } |
enum | GeometricOpObjStrategy { ALL_OBJ, AGGREG_OBJ, AGGREG_BY_ATTRIBUTE } |
Defines the strategy used for the processing of the input geometries. More... | |
enum | GroupingFunctionsType { MIN_VALUE, MAX_VALUE, MEAN, SUM, COUNT, VALID_COUNT, STANDARD_DEVIATION, KERNEL, VARIANCE, SKEWNESS, KURTOSIS, AMPLITUDE, MEDIAN, VAR_COEFF, MODE } |
Define grouping functions type. More... | |
enum | MemoryUse { WHOLE_MEM, PARTIALLY_MEM, LOW_MEM } |
Define possible states for memory use. More... | |
enum | RuleForBuffer { INSIDE_OUTSIDE, ONLY_OUTSIDE, ONLY_INSIDE } |
Functions | |
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... | |
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::gm::Geometry * | GetGeometryUnion (const std::vector< te::mem::DataSetItem * > &items, size_t geomIdx) |
std::string | GetSimpleTableName (std::string fullName) |
te::gm::GeomType | GetSimpleType (te::gm::GeomType geomType) |
bool | IsMultiType (te::gm::GeomType geomType) |
void | Multi2Single (te::gm::Geometry *g, std::vector< te::gm::Geometry * > &geoms) |
void | Save (te::da::DataSource *source, te::da::DataSet *result, te::da::DataSetType *outDsType) |
void | SplitGeometryCollection (te::gm::GeometryCollection *geomIn, te::gm::GeometryCollection *gcOut) |
Namespace for Vector Processing module of TerraLib.
Define grouping functions type.
enum te::vp::MemoryUse |
std::list< te::map::AbstractLayerPtr > te::vp::GetFilteredLayers | ( | std::string | text, |
std::list< te::map::AbstractLayerPtr > | layers | ||
) |
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. |
Definition at line 52 of file Utils.cpp.
References te::gm::GeometryCollection::add(), te::gm::GeometryCollectionType, te::gm::GeometryCollection::getGeometries(), te::gm::Geometry::getGeomTypeId(), te::gm::Geometry::getSRID(), te::gm::GeometryCollection::setGeometryN(), SplitGeometryCollection(), and te::gm::Geometry::Union().
Referenced by te::vp::AggregationMemory::run(), and te::vp::GeometricOpMemory::SetAggregByAttribute().
te::gm::Geometry * te::vp::GetGeometryUnion | ( | const std::vector< te::mem::DataSetItem * > & | items, |
size_t | geomIdx | ||
) |
Definition at line 113 of file Utils.cpp.
References te::gm::GeometryCollection::add(), te::gm::GeometryCollectionType, and te::gm::Geometry::Union().
std::string te::vp::GetSimpleTableName | ( | std::string | fullName | ) |
Definition at line 162 of file Utils.cpp.
Referenced by te::vp::IntersectionMemory::createDataSetType(), te::vp::IntersectionMemory::pairwiseIntersection(), and te::vp::IntersectionQuery::run().
te::gm::GeomType te::vp::GetSimpleType | ( | te::gm::GeomType | geomType | ) |
Definition at line 256 of file Utils.cpp.
References te::gm::LineStringMType, te::gm::LineStringType, te::gm::LineStringZMType, te::gm::LineStringZType, te::gm::MultiLineStringMType, te::gm::MultiLineStringType, te::gm::MultiLineStringZMType, te::gm::MultiLineStringZType, te::gm::MultiPointMType, te::gm::MultiPointType, te::gm::MultiPointZMType, te::gm::MultiPointZType, te::gm::MultiPolygonMType, te::gm::MultiPolygonType, te::gm::MultiPolygonZMType, te::gm::MultiPolygonZType, te::gm::PointMType, te::gm::PointType, te::gm::PointZMType, te::gm::PointZType, te::gm::PolygonMType, te::gm::PolygonType, te::gm::PolygonZMType, te::gm::PolygonZType, and te::gm::UnknownGeometryType.
Referenced by te::vp::MultipartToSinglepart::getOutDst().
bool te::vp::IsMultiType | ( | te::gm::GeomType | geomType | ) |
Definition at line 234 of file Utils.cpp.
References te::gm::MultiLineStringMType, te::gm::MultiLineStringType, te::gm::MultiLineStringZMType, te::gm::MultiLineStringZType, te::gm::MultiPointMType, te::gm::MultiPointType, te::gm::MultiPointZMType, te::gm::MultiPointZType, te::gm::MultiPolygonMType, te::gm::MultiPolygonType, te::gm::MultiPolygonZMType, and te::gm::MultiPolygonZType.
Referenced by te::vp::MultipartToSinglepart::run().
void te::vp::Multi2Single | ( | te::gm::Geometry * | g, |
std::vector< te::gm::Geometry * > & | geoms | ||
) |
Definition at line 222 of file Utils.cpp.
References te::gm::GeometryCollection::getGeometryN(), and te::gm::GeometryCollection::getNumGeometries().
Referenced by te::vp::MultipartToSinglepart::runAll(), and te::vp::MultipartToSinglepart::runSelected().
void te::vp::Save | ( | te::da::DataSource * | source, |
te::da::DataSet * | result, | ||
te::da::DataSetType * | outDsType | ||
) |
Definition at line 172 of file Utils.cpp.
References te::da::DataSource::add(), te::da::DataSource::createDataSet(), te::da::DataSource::getCapabilities(), te::da::DataSetTypeConverter::getResult(), te::da::DataSource::getTransactor(), te::da::DataSource::getType(), and te::da::DataSet::moveBeforeFirst().
Referenced by te::vp::LineToPolygonQuery::run(), te::vp::PolygonToLineQuery::run(), te::vp::LineToPolygonMemory::run(), te::vp::PolygonToLineMemory::run(), te::vp::BufferQuery::run(), te::vp::IntersectionQuery::run(), te::vp::AggregationQuery::run(), te::vp::GeometricOpQuery::run(), te::vp::AggregationMemory::run(), te::vp::GeometricOpMemory::run(), te::vp::BufferMemory::run(), te::vp::IntersectionMemory::run(), te::vp::MultipartToSinglepart::runAll(), and te::vp::MultipartToSinglepart::runSelected().
void te::vp::SplitGeometryCollection | ( | te::gm::GeometryCollection * | geomIn, |
te::gm::GeometryCollection * | gcOut | ||
) |
Definition at line 149 of file Utils.cpp.
References te::gm::GeometryCollection::add().
Referenced by te::vp::BufferMemory::dissolveMemory(), and GetGeometryUnion().