Show / Hide Table of Contents

Class OgcFeatureCollectionTable

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

Inheritance
System.Object
FeatureTable
OgcFeatureCollectionTable
Implements
System.ComponentModel.INotifyPropertyChanged
ILoadable
IPopupSource
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.GetPopupDefinition(Feature)
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
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Esri.ArcGISRuntime.Data
Assembly: Esri.ArcGISRuntime.dll
Syntax
public sealed class OgcFeatureCollectionTable : FeatureTable, INotifyPropertyChanged, ILoadable, IPopupSource
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 pieces: the FeatureRequestMode property and the PopulateFromServiceAsync(QueryParameters, Boolean, IEnumerable<String>) methods. Only the ManualCache mode is supported. This means that one of the PopulateFromServiceAsync(QueryParameters, Boolean, IEnumerable<String>) methods 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>) methods, you can put any CQL-TEXT or CQL-JSON string as defined in the document Common Query Language (CQL2). Use the PopulateFromServiceAsync(QueryParameters, Boolean, IEnumerable<String>, String, CancellationToken) method to explicitly specify the query language of the WhereClause.

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 System.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>, String, CancellationToken)

Populate 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.7
.NET100.13 - 200.7
.NET Windows100.13 - 200.7
.NET Android200.0 - 200.7
.NET iOS200.0 - 200.7
.NET Framework100.10 - 200.7
Xamarin.Android100.10 - 100.15
Xamarin.iOS100.10 - 100.15
UWP100.10 - 200.7
In This Article
Back to top Copyright © 2022 Esri.