WfsFeatureTable class final

A table of features that typically represents real-world objects from an OGC Web Feature Service (WFS) dataset.

You can create WFS feature table using the URL of an OGC Web Feature Service and a specified layer name. Alternatively, you may connect to a WfsService, obtain its metadata from WfsService.serviceInfo, and discover its available layers using WfsServiceInfo.layerInfos. You can then create a WfsFeatureTable from an individual layer using WfsFeatureTable.withLayerInfo.

When you have created a WFS Feature table, features are not automatically requested. Instead, you must set the WFS Feature table request mode to FeatureRequestMode.manualCache and then populate the table using WfsFeatureTable.populateFromService, for example.

You can visualize features from a WFS feature table using a FeatureLayer but the table does not support editing. See the OGC Web Feature Service standard for more information.

Inheritance

Constructors

WfsFeatureTable.withLayerInfo(WfsLayerInfo layerInfo)
Creates a WFS feature table from WFS layer information.
factory
WfsFeatureTable.withUriAndTableName({required Uri uri, required String tableName})
Creates a WFS feature table from the URL of a WFS Service and a table name.
factory

Properties

axisOrder OgcAxisOrder
The axis order, which defines how coordinates are interpreted (x,y or y,x).
getter/setter pair
displayName String
A user-friendly name that can be displayed in the UI (for example, in a Table of Contents).
getter/setter pairinherited
extent Envelope?
The geographic extent of features within the table.
no setterinherited
featureRequestMode FeatureRequestMode
The mode defining when features are requested from the service.
getter/setter pair
fields List<Field>
The collection of Field objects representing the fields of the feature table.
no setterinherited
filterAxisOrder OgcAxisOrder
The filter axis order, which determines how coordinates are ordered when sent to the server as part of spatial queries.
getter/setter pair
geometryType GeometryType
The type of geometry of the features stored in this table.
no setterinherited
hasGeometry bool
True if the feature table supports geographic features, false otherwise.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
hasM bool
True if the feature table supports geometries with M values, false otherwise.
no setterinherited
hasZ bool
True if the feature table supports geometries with Z values, false otherwise.
no setterinherited
isEditable bool
True if this feature table is editable, false otherwise.
no setterinherited
layer Layer?
The layer that displays this table, if any.
no setterinherited
layerInfo WfsLayerInfo?
Metadata describing the WFS layer, such as name and description.
no setter
loadError ArcGISException?
The load error.
no setterinherited
loadStatus LoadStatus
The load status.
no setterinherited
numberOfFeatures int
The number of features in the table.
no setterinherited
onLoadStatusChanged Stream<LoadStatus>
A stream that reports changes to the LoadStatus.
no setterinherited
preferredSpatialReference SpatialReference?
The preferred spatial reference for the WFS feature table.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
spatialReference SpatialReference?
The spatial reference of the table.
no setterinherited
tableName String
The name of the table in the source dataset.
no setterinherited
uri Uri
The URL of the WFS feature table.
no setter

Methods

addFeature(Feature feature) Future<void>
Adds a feature to the table.
inherited
addFeatures(List<Feature> features) Future<void>
Adds a collection of features to the table.
inherited
canAdd() bool
Determines whether you can add new features to the table.
inherited
cancelLoad() → void
Cancels loading metadata for the object.
inherited
canDelete(Feature feature) bool
Determines whether you can delete the feature from the table.
inherited
canEditGeometry() bool
Determines whether you can edit the geometry field in a table.
inherited
canUpdate(Feature feature) bool
Determines whether you can update the feature in the table.
inherited
createFeature({Map<String, dynamic> attributes = const {}, Geometry? geometry}) Feature
Creates a new feature with the provided attribute values and, optionally, geometry.
inherited
deleteFeature(Feature feature) Future<void>
Deletes a feature from the table.
inherited
deleteFeatures(List<Feature> features) Future<void>
Deletes a collection of features from the table.
inherited
getField({required String fieldName}) Field?
Retrieves the field with the given name.
inherited
load() Future<void>
Loads the metadata for the object asynchronously.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
populateFromService({QueryParameters? parameters, required bool clearCache, required List<String> outFields}) Future<FeatureQueryResult>
Populates the WFS feature table using the query parameters.
populateFromServiceWithXml({required String xmlRequest, required bool clearCache}) Future<FeatureQueryResult>
Populates the table using an XML query.
queryExtent(QueryParameters queryParameters) Future<Envelope>
Determines the minimum bounding envelope that contains features satisfying the provided query parameters.
inherited
queryFeatureCount(QueryParameters queryParameters) Future<int>
Determines the count of features that satisfy the provided query parameters.
inherited
queryFeatures(QueryParameters queryParameters) Future<FeatureQueryResult>
Submits a query against the table.
inherited
queryStatistics(StatisticsQueryParameters statisticsQueryParameters) Future<StatisticsQueryResult>
Calculates values for the requested statistics.
inherited
retryLoad() Future<void>
Loads or retries loading metadata for the object asynchronously.
inherited
toString() String
A string representation of this object.
inherited
updateFeature(Feature feature) Future<void>
Updates a feature in the table.
inherited
updateFeatures(List<Feature> features) Future<void>
Updates a collection of features in the table.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited