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.
Feature(const Feature &rhs)
It creates a new feature by cloning the values in the source feature (rhs).
const te::gm::Geometry * getFirstGeometryPtr() const
Gets the first geometry associated to this feature. The caller will NOT take the ownership of the obj...
void transform(te::srs::Converter *converter)
It converts the coordinate values of the feature to the new spatial reference system.
static te::vp::Feature * createFeatureFromCurrent(const te::da::DataSet *dataSet)
Creates a Feature based on the current row of the givem DataSet.
virtual ~Feature()
Destructor.
std::size_t getFirstGeometryPropertyPos() const
Feature(const te::da::DataSetType *dataSetType)
virtual te::da::DataSetItem * clone() const override
Clones the feature.
std::size_t m_firstGeometryPropertyPos
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.
Feature(const te::da::DataSet *dataSet)
te::gm::Geometry * getFirstGeometryPtr()
Gets the first geometry associated to this feature. The caller will NOT take the ownership of the obj...
void transform(int srid)
It converts the coordinate values of the feature to the new spatial reference system.
#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).