26 #ifndef __TERRALIB_VP_INTERNAL_FEATURE_H
27 #define __TERRALIB_VP_INTERNAL_FEATURE_H
32 #include "../memory/DataSetItem.h"
An implementation of the DatasetItem class for the TerraLib In-Memory Data Access driver.
A class that models the description of a dataset.
A dataset is the unit of information manipulated by the data access module of TerraLib.
Geometry is the root class of the geometries hierarchy, it follows OGC and ISO standards.
An implementation of the DatasetItem class for the TerraLib In-Memory Data Access driver.
A Converter is responsible for the conversion of coordinates between different Coordinate Systems (CS...
An alias for a set of Features.
A feature is a composition of a geometry and its attributes.
Feature(const te::da::DataSetItem &dataSetItem)
Constructor.
void setFirstGeometry(te::gm::Geometry *geometry)
Sets the first geometry value associated to this feature. This will take the ownership of the object.
const te::gm::Geometry * getFirstGeometryPtr() const
Gets the first geometry associated to this feature. The caller will NOT take the ownership of the obj...
Feature(const Feature &rhs)
It creates a new feature by cloning the values in the source feature (rhs).
void transform(te::srs::Converter *converter)
It converts the coordinate values of the feature to the new spatial reference system.
virtual ~Feature()
Destructor.
std::size_t getFirstGeometryPropertyPos() const
Feature(const te::da::DataSetType *dataSetType)
virtual te::da::DataSetItem * clone() const override
Clones the feature.
te::gm::Geometry * getFirstGeometryPtr()
Gets the first geometry associated to this feature. The caller will NOT take the ownership of the obj...
std::size_t m_firstGeometryPropertyPos
Feature(const te::da::DataSet *dataSet)
static te::vp::Feature * createFeatureFromCurrent(const te::da::DataSet *dataSet)
Creates a Feature based on the current row of the givem DataSet.
void transform(int srid)
It converts the coordinate values of the feature to the new spatial reference system.
std::unique_ptr< te::gm::Geometry > getFirstGeometry() const
Gets the first geometry associated to this feature. The caller will take the ownership of the object.
#define TEVPEXPORT
You can use this macro in order to export/import classes and functions from this module.
Proxy configuration file for TerraView (see terraview_config.h).