Ilwis-Objects
1.0
GIS and Remote Sensing framework for data access and processing
|
#include <feature.h>
Public Member Functions | |
Feature (const Ilwis::IFeatureCoverage &fcoverage, int rec=iUNDEF) | |
Feature (const FeatureCoverage *fcoverage, int rec=iUNDEF) | |
quint64 | featureid () const |
bool | isValid () const |
const UPGeometry & | geometry (quint32 index=0) const |
UPGeometry & | geometry (quint32 index=0) |
void | set (geos::geom::Geometry *geom, int index=0) |
FeatureInterface * | clone () const |
IlwisTypes | geometryType (qint32 index=iUNDEF) const |
quint32 | trackSize () const |
QVariant | cell (quint32 colIndex, int index=-1, bool asRaw=true) |
QVariant | cell (const QString &name, int index=-1, bool asRaw=true) |
void | setCell (const QString &name, const QVariant &var, int index=-1) |
void | setCell (quint32 colIndex, const QVariant &var, int index=-1) |
ColumnDefinition | columndefinition (const QString &name, bool coverages=true) const |
ColumnDefinition | columndefinition (quint32 index, bool coverages=true) const |
quint32 | attributeColumnCount (bool coverages=true) const |
![]() | |
QVariant | operator() (const QString &name, int index=-1, bool asRaw=true) |
Friends | |
class | FeatureCoverage |
class | FeatureIterator |
class | FeatureNode |
The feature class represents a spatial object with a single identity and a one or more geometries. This is different from the regular definition of a feature that has only one geometry. The reasoning for this is that an object that moves trough time is still the same object. Same is true for objects at different scales. To be able to represent these kind of data structures a feature can have multiple geometries organized in a vector. The index in the vector has meaning ( similar to z direction in gridcoverages) and uses the verticaldomain.