GeoPackageFeatureTable class final

A dataset in a GeoPackage containing features or non-spatial records.

A GeoPackageFeatureTable supports core GeoPackage geometry types and represents them as ArcGISPoint, Multipoint, Polyline, or Polygon. The GeoPackage specification supports a geometry collection type (storing a variety of core geometry types in a single table). For these tables, the first geometry type found in the collection is rendered.

You can query the dataset using attribute or spatial criteria, and if permitted, also edit the data. If the dataset contains geographic features you can display them on a map using a FeatureLayer.

Inheritance

Properties

description String
A description of the GeoPackage feature table.
no setter
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
fields List<Field>
The collection of Field objects representing the fields of the feature table.
no setterinherited
geometryType GeometryType
The type of geometry of the features stored in this table.
no setterinherited
geoPackage GeoPackage?
The GeoPackage from which the feature table was loaded.
no setter
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
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
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

Methods

addFeature(Feature feature) Future<void>
Adds a feature to the table.
inherited
addFeatureCancelable(Feature feature) CancelableOperation<void>
Cancelable version of addFeature. See that method for more information.
inherited
addFeatures(List<Feature> features) Future<void>
Adds a collection of features to the table.
inherited
addFeaturesCancelable(List<Feature> features) CancelableOperation<void>
Cancelable version of addFeatures. See that method for more information.
inherited
canAdd() bool
Determines whether you can add new features to the table.
inherited
cancelLoad() → void
Cancels loading metadata for the object.
inherited
canDelete({required 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({required 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
deleteFeatureCancelable(Feature feature) CancelableOperation<void>
Cancelable version of deleteFeature. See that method for more information.
inherited
deleteFeatures(List<Feature> features) Future<void>
Deletes a collection of features from the table.
inherited
deleteFeaturesCancelable(List<Feature> features) CancelableOperation<void>
Cancelable version of deleteFeatures. See that method for more information.
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
queryExtent({required QueryParameters queryParameters}) Future<Envelope>
Determines the minimum bounding envelope that contains features satisfying the provided query parameters.
inherited
queryExtentCancelable({required QueryParameters queryParameters}) CancelableOperation<Envelope>
Cancelable version of queryExtent. See that method for more information.
inherited
queryFeatureCount({required QueryParameters queryParameters}) Future<int>
Determines the count of features that satisfy the provided query parameters.
inherited
queryFeatureCountCancelable({required QueryParameters queryParameters}) CancelableOperation<int>
Cancelable version of queryFeatureCount. See that method for more information.
inherited
queryFeatures({required QueryParameters parameters}) Future<FeatureQueryResult>
Submits a query against the table.
inherited
queryFeaturesCancelable({required QueryParameters parameters}) CancelableOperation<FeatureQueryResult>
Cancelable version of queryFeatures. See that method for more information.
inherited
queryStatistics({required StatisticsQueryParameters statisticsQueryParameters}) Future<StatisticsQueryResult>
Calculates values for the requested statistics.
inherited
queryStatisticsCancelable({required StatisticsQueryParameters statisticsQueryParameters}) CancelableOperation<StatisticsQueryResult>
Cancelable version of queryStatistics. See that method for more information.
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
updateFeatureCancelable(Feature feature) CancelableOperation<void>
Cancelable version of updateFeature. See that method for more information.
inherited
updateFeatures(List<Feature> features) Future<void>
Updates a collection of features in the table.
inherited
updateFeaturesCancelable(List<Feature> features) CancelableOperation<void>
Cancelable version of updateFeatures. See that method for more information.
inherited

Operators

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