24 #include "../dataaccess/utils/Utils.h" 25 #include "../geometry/GeometryProperty.h" 33 std::unique_ptr<te::da::DataSetTypeConverter> converter)
41 std::vector<std::string> selectedProps,
42 std::vector<te::vp::GeometricOperation> operations,
98 dsType->
add(pkProperty);
116 dsType->
add(pkProperty);
134 dsType->
add(pkProperty);
154 dsType->
add(pkProperty);
205 dsType->
add(perimeter);
219 bool flagGeom =
false;
230 dsType->
add(convGeom);
240 dsType->
add(centroidGeom);
250 dsType->
add(mbrGeom);
306 dsType->
add(geometry);
312 bool flagGeom =
false;
321 dsType->
add(geometry);
331 dsType->
add(geometry);
341 dsType->
add(geometry);
397 dsType->
add(geometry);
void setAutoNumber(bool a)
It tells if the property is an autonumber or not.
void setTitle(const std::string &title)
It sets a human descriptive title for the DataSetType.
te::da::DataSetType * GetDataSetType(te::vp::GeometricOpObjStrategy, bool MultiGeomColumns, int geomOp=-1)
void add(te::dt::Property *p)
It adds a property to the list of properties of the primary key.
void setSRID(int srid)
It sets the spatial reference system identifier associated to this property.
void setGeometryType(GeomType t)
It sets the geometry subtype.
std::vector< std::string > GetOutputDSetNames()
std::vector< std::string > m_outDsetNameVec
An atomic property like an integer or double.
void setInput(te::da::DataSourcePtr inDsrc, std::string inDsetName, std::unique_ptr< te::da::DataSetTypeConverter > converter)
The geographic operation Line.
boost::shared_ptr< DataSource > DataSourcePtr
The geographic operation Minimum Bounding Rectangle.
void setParams(std::vector< std::string > selectedProps, std::vector< te::vp::GeometricOperation > operations, te::vp::GeometricOpObjStrategy objStrategy, std::string attribute, int newSRID)
A class that models the description of a dataset.
void setOutput(std::unique_ptr< da::DataSource > outDsrc, std::string dsname)
It models a property definition.
GeometricOpObjStrategy
Defines the strategy used for the processing of the input geometries.
The geographic operation Area.
int getSRID() const
It returns the spatial reference system identifier associated to this property.
GeomType getGeometryType() const
It returns the geometry subtype allowed for the property.
std::unique_ptr< te::da::DataSource > m_outDsrc
Aggregate objects by attribute.
The geographic operation Perimeter.
The geographic operation Centroid.
void add(Constraint *c)
It adds a new constraint.
te::da::DataSourcePtr m_inDsrc
std::vector< std::string > m_selectedProps
std::vector< te::vp::GeometricOperation > m_operations
It describes a primary key (pk) constraint.
virtual bool paramsAreValid()
The geographic operation Convex Hull.
te::vp::GeometricOpObjStrategy m_objStrategy
TEDATAACCESSEXPORT te::gm::GeometryProperty * GetFirstGeomProperty(const DataSetType *dt)
All objects individually.
std::string m_outDsetName
void setPrimaryKey(PrimaryKey *pk)
It sets the primary key constraint.
std::unique_ptr< te::da::DataSetTypeConverter > m_converter
void setParent(Property *p)
It associate this property to the informed parent.