Wfs Feature Table
An object that represents a WFS feature table.
Constructors
Creates a new WFS feature table.
Creates a new WFS feature table.
Functions
Adds a feature to the table. Adding a feature that contains a Geometry causes the geometry to become simplified. This may change a single part geometry to a multipart geometry, or round off X, Y, Z, and M coordinate values that are above the resolution set by the SpatialReference.
Adds a collection of features to the table.
Cancels loading metadata for the Loadable object.
Determines whether you can edit the geometry field in a table.
Creates a new empty feature. The new feature is only available in memory at this point. Execute FeatureTable.addFeature(Feature) to commit the new Feature to the table.
Creates a new feature with the provided attribute values and, optionally, geometry. The new feature is only available in memory at this point. Execute FeatureTable.addFeature(Feature) to commit the new Feature to the table.
Deletes a feature from the table. Deleting a feature from a GeodatabaseFeatureTable in a stand-alone mobile geodatabase created with ArcGIS Pro is not supported when the table participates in a controller dataset, such as a utility network or parcel fabric. Use FeatureTable.canDelete(Feature) to determine if this operation is allowed.
Deletes a collection of features from the table.
Populate the table using an XML query. The XML query must be made against the same feature type represented by the WFS feature table. The schema of the query result must match or be a subset of the schema of the table.
Populate the table using a query. Use the default (empty) QueryParameters to get all features from the service. Specifying null or an empty MutableListImpl for outfields will result in the default set of outfields being used. WFS is only compatible with a subset of possible queries defined by QueryParameters. Where clause only works when the table is backed by a service powered by GeoServer. Spatial queries (those that specify geometries) must use the Intersects spatial relationship.
Determines the minimum bounding envelope that contains features satisfying the provided query parameters. If no features meet the query criteria, an empty envelope is returned.
Determines the count of features that satisfy the provided query parameters.
Submits a query against the table.
Calculates values for the requested statistics. Statistics query parameters may also define fields on which results are grouped or sorted.
Updates a feature in the table. If you update a feature that contains a Geometry, the geometry becomes simplified. This may change a single part geometry to a multipart geometry, or round X, Y, Z, and M coordinate values that are above the resolution set by the SpatialReference.
Updates a collection of features in the table.
Properties
The axis order, which defines how coordinates are interpreted. Some WFS services return coordinates in (X,Y) order, while others use (Y,X). Setting this property to OgcAxisOrder.Swap results in all coordinates in geometries being swapped from what was sent by the server. The axis order can be changed on a loaded table, but that change will only affect future calls to WfsFeatureTable.populateFromService(QueryParameters, Boolean, MutableListImpl). Features that are already in the table will not be modified. The default value is OgcAxisOrder.Auto. In this mode, the results are optimized using heuristics from popular WFS Servers.
A user-friendly name that can be displayed in the UI (for example, in a Table of Contents). If the table is displayed with a FeatureLayer, the FeatureTable.getDisplayName() is used as the FeatureLayer.getName().
The mode defining when features are requested from the service. At v100.5, WFS feature table only supports FeatureRequestMode.ManualCache but defaults to FeatureRequestMode.OnInteractionCache. Set the feature request mode to manual before attempting to populate the table.
The axis order of the filter, which determines how coordinates are ordered when sent to the server as part of spatial queries (those that specify a geometry). Some WFS services expect coordinates to be sent in (X,Y) order, while others use (Y,X). Use OgcAxisOrder.Swap to send coordinates in (Y,X) order. Use OgcAxisOrder.NoSwap to send coordinates in (X,Y) order. Defaults to OgcAxisOrder.Auto.
The type of geometry of the features stored in this table. If FeatureTable.getHasGeometry() is false, then the geometry type is GeometryType.Unknown.
True if this feature table is editable, false otherwise. Underlying file permissions (for subclasses such as ShapefileFeatureTable and GeodatabaseFeatureTable) can be changed while the feature table is open. In these cases the value of this property may not be accurate.
A flag indicating whether the PopupDefinition defined on the PopupSource is enable / disable. Will return false if an error occurs.
The number of features in the table. If all the features are stored in the local table, for example with a GeodatabaseFeatureTable or a ShapefileFeatureTable, then the FeatureTable.getNumberOfFeatures() will return the full number of features.