An individual table that can be stored in a FeatureCollection. More...
| Header | #include <Feature |
| Since | Esri |
| Inherits | Esri |
This class was introduced in Esri::ArcGISRuntime 100.0.
Public Functions
| Feature | |
| Feature | |
| Feature | |
| Feature | |
| virtual | ~ |
| Esri | layer |
| Esri | renderer() const |
| void | set |
| void | set |
| Esri | symbol |
Reimplemented Public Functions
| virtual QList | fields() const override |
| virtual Esri | geometry |
| virtual Esri | iterator() const override |
| virtual Esri | spatial |
Detailed Description
Represents an individual feature table in a FeatureCollection. It consists of a feature definition (table schema) and a set of features that match that feature definition. It offers support for overriding the renderer symbology on a per-feature basis.
To create a FeatureCollectionTable, specify the fields, geometry type, and spatial reference of features in this table. Or, create it from a list of GeoElements or features already existing in another FeatureSet (for example, a query result).
Member Function Documentation
FeatureCollectionTable::FeatureCollectionTable (Esri::ArcGISRuntime::FeatureSet *featureSet , QObject *parent = nullptr)
Constructor that accepts the FeatureSet (featureSet) and an optional parent.
FeatureCollectionTable::FeatureCollectionTable (const QList<Esri::ArcGISRuntime::GeoElement *> &geoElements , const QList<Esri::ArcGISRuntime::Field > &fields, QObject *parent = nullptr)
Constructor that accepts the list of geoElements, the list of fields and an optional parent.
FeatureCollectionTable::FeatureCollectionTable (const QList<Esri::ArcGISRuntime::Field > &fields, Esri::ArcGISRuntime::GeometryType geometryType , const Esri::ArcGISRuntime::SpatialReference &spatialReference , bool hasZ , bool hasM , QObject *parent = nullptr)
Constructor that accepts a list of fields, geometryType, spatialReference, hasZ, hasM and an optional parent.
FeatureCollectionTable::FeatureCollectionTable (const QList<Esri::ArcGISRuntime::Field > &fields, Esri::ArcGISRuntime::GeometryType geometryType , const Esri::ArcGISRuntime::SpatialReference &spatialReference , QObject *parent = nullptr)
Constructor that accepts a list of fields, geometryType, spatialReference and an optional parent.
[override virtual] FeatureCollectionTable::~FeatureCollectionTable ()
Destructor.
[override virtual] QList<Esri::ArcGISRuntime::Field > FeatureCollectionTable::fields() const
Reimplements: FeatureSet::fields() const.
Returns a list of Field objects representing the fields in this FeatureCollectionTable.
[override virtual] Esri::ArcGISRuntime::GeometryType FeatureCollectionTable::geometryType () const
Reimplements: FeatureSet::geometryType() const.
Returns the type of geometry shared by all features in this FeatureCollectionTable.
[override virtual] Esri::ArcGISRuntime::FeatureIterator FeatureCollectionTable::iterator() const
Reimplements: FeatureSet::iterator() const.
Returns an iterator to iterate over the features in this FeatureCollectionTable.
Esri::ArcGISRuntime::ArcGISFeatureLayerInfo FeatureCollectionTable::layerInfo ()
Gets the layer info of the FeatureCollectionTable.
Esri::ArcGISRuntime::Renderer *FeatureCollectionTable::renderer() const
Returns the renderer specifying how the features should be symbolized.
See also setRenderer().
void FeatureCollectionTable::setRenderer (Esri::ArcGISRuntime::Renderer *renderer)
Sets the renderer specifying how the features in this FeatureCollectionTable should be symbolized.
See also renderer().
void FeatureCollectionTable::setSymbolOverride (Esri::ArcGISRuntime::Feature *feature, Esri::ArcGISRuntime::Symbol *symbol)
Sets the symbol override for the given feature in the FeatureCollectionTable to symbol.
See also symbolOverride().
[override virtual] Esri::ArcGISRuntime::SpatialReference FeatureCollectionTable::spatialReference () const
Reimplements: FeatureSet::spatialReference() const.
Returns the spatial reference of the features in this FeatureCollectionTable.
Esri::ArcGISRuntime::Symbol *FeatureCollectionTable::symbolOverride (Esri::ArcGISRuntime::Feature *feature) const
Gets the symbol override for the given feature in the FeatureCollectionTable.
See also setSymbolOverride().