Show / Hide Table of Contents

Class OgcFeatureCollectionTable

Represents a feature collection in an "OGC API Features" service.

Inheritance
Object
FeatureTable
OgcFeatureCollectionTable
Implements
INotifyPropertyChanged
ILoadable
FeatureTable.Layer
FeatureTable.Extent
FeatureTable.IsPopupEnabled
FeatureTable.Fields
FeatureTable.GeometryType
FeatureTable.HasGeometry
FeatureTable.IsEditable
FeatureTable.LoadError
FeatureTable.LoadStatus
FeatureTable.NumberOfFeatures
FeatureTable.SpatialReference
FeatureTable.TableName
FeatureTable.HasM
FeatureTable.HasZ
FeatureTable.PopupDefinition
FeatureTable.DisplayName
FeatureTable.LoadAsync()
FeatureTable.RetryLoadAsync()
FeatureTable.AddFeatureAsync(Feature)
FeatureTable.AddFeaturesAsync(IEnumerable<Feature>)
FeatureTable.CanAdd()
FeatureTable.CanDelete(Feature)
FeatureTable.CanUpdate(Feature)
FeatureTable.CanEditGeometry()
FeatureTable.CancelLoad()
FeatureTable.CreateFeature()
FeatureTable.CreateFeature(IEnumerable<KeyValuePair<String, Object>>, Geometry)
FeatureTable.DeleteFeatureAsync(Feature)
FeatureTable.DeleteFeaturesAsync(IEnumerable<Feature>)
FeatureTable.GetField(String)
FeatureTable.QueryFeaturesAsync(QueryParameters)
FeatureTable.QueryFeaturesAsync(QueryParameters, CancellationToken)
FeatureTable.UpdateFeatureAsync(Feature)
FeatureTable.UpdateFeaturesAsync(IEnumerable<Feature>)
FeatureTable.QueryStatisticsAsync(StatisticsQueryParameters)
FeatureTable.QueryExtentAsync(QueryParameters)
FeatureTable.QueryFeatureCountAsync(QueryParameters)
FeatureTable.PropertyChanged
FeatureTable.Loaded
FeatureTable.LoadStatusChanged
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
Namespace: Esri.ArcGISRuntime.Data
Assembly: Esri.ArcGISRuntime.dll
Syntax
public sealed class OgcFeatureCollectionTable : FeatureTable, INotifyPropertyChanged, ILoadable
Remarks

To display data from an OGC feature collection table in a FeatureLayer use the FeatureLayer(FeatureTable) constructor where the OgcFeatureCollectionTable is the parameter that is passed into the constructor. Note: The OgcFeatureCollectionTable should not be confused with FeatureCollectionTable which is used as an input to create a FeatureCollectionLayer.

This API provides building blocks for manipulating features on the Web. For more information about the OGC API Features specification see the documents: OGC API - Features - Part 1 and OGC API - Features - Part 2.

The class includes two important members: the FeatureRequestMode property and the PopulateFromServiceAsync(QueryParameters, Boolean, IEnumerable<String>) method. Only the ManualCache mode is supported. This means PopulateFromServiceAsync(QueryParameters, Boolean, IEnumerable<String>) must be called to populate, query, and return features from the service. For the WhereClause that is used by the PopulateFromServiceAsync(QueryParameters, Boolean, IEnumerable<String>) method, you can put any CQL-TEXT or CQL-JSON string as defined in the document Common Query Language (CQL2).

When populating or updating a local table from an OGC service, you can now request features in a specified SpatialReference (also referred to as SRS in ArcGIS or CRS in OGC). This leverages the power of the server to return features in the same spatial reference as your map rather than having to re-project them on the client.

This class supports loading and querying of features from a non-spatial OGC feature collection table.

Constructors

Name Description
OgcFeatureCollectionTable(OgcFeatureCollectionInfo)

Initializes a new instance of the OgcFeatureCollectionTable class from collection metadata.

OgcFeatureCollectionTable(Uri, String)

Initializes a new instance of the OgcFeatureCollectionTable class.

Properties

Name Description
FeatureCollectionInfo

Gets the feature collection metadata, which includes ID, title, and description.

FeatureRequestMode

Gets or sets the mode defining when features are requested from the service.

Source

Gets the landing page Uri for the associated "OGC API Features" service.

Methods

Name Description
PopulateFromServiceAsync(QueryParameters, Boolean, IEnumerable<String>)

Asynchronously populates the OGC API - Features feature collection table with the results of a query.

PopulateFromServiceAsync(QueryParameters, Boolean, IEnumerable<String>, CancellationToken)

Asynchronously populates the table using a query.

Applies to

TargetVersions
.NET Standard 2.0100.10 - 200.2
.NET 6.0100.13 - 200.2
.NET 6.0 Windows100.13 - 200.2
.NET 6.0 Android200.0 - 200.2
.NET 6.0 iOS200.0 - 200.2
.NET Framework100.10 - 200.2
.NET 5100.10 - 100.12
.NET Core 3.1100.10 - 100.12
Android100.10 - 100.15
iOS100.10 - 100.15
UWP100.10 - 200.2
In This Article
Back to top Copyright © 2022 Esri.