ArcGIS Runtime SDK for iOS: AGSFeatureQueryResult Class Reference
ArcGIS Runtime SDK for iOS  100.15
AGSFeatureQueryResult Class Reference

Description

Result of queries that return features.

Instances of this class represent results of queries that return features. This class has methods that can be used to iterate over the collection of features. The AGSFeatureEnumerator class conforms to NSFastEnumeration which permits the collection to be enumerated conveniently using a for-in loop. For example:

let result: AGSFeatureQueryResult = ... //A feature query result instance
let enumr = result.featureEnumerator()
for feature in enumr {
//do something
}
Result of queries that return features.
Definition: AGSFeatureQueryResult.h:49
AGSFeatureEnumerator * featureEnumerator()
Since
100
Inheritance diagram for AGSFeatureQueryResult:
AGSObject <AGSFeatureSet>

Instance Methods

(AGSFeatureEnumerator *) - featureEnumerator
 

Properties

NSArray< AGSField * > * fields
 
AGSGeometryType geometryType
 
AGSSpatialReferencespatialReference
 
BOOL transferLimitExceeded
 

Method Documentation

◆ featureEnumerator

- (AGSFeatureEnumerator*) featureEnumerator

Returns an enumerator object that lets you access each feature.

Since
100

Property Documentation

◆ fields

- (NSArray<AGSField*>*) fields
readrequirednonatomiccopyinherited

The attribute fields (columns) available in data. The property is an array of AGSField objects.

See also
AGSField
Since
100

◆ geometryType

- (AGSGeometryType) geometryType
readnonatomicassigninherited

The type of geometry contained by features.

Since
100

◆ spatialReference

- (AGSSpatialReference*) spatialReference
readnonatomicstronginherited

The spatial reference of the features.

Since
100

◆ transferLimitExceeded

- (BOOL) transferLimitExceeded
readnonatomicassign

Indicates if the results do not include all the features matched by the query. Mostly relevant to queries executed against an ArcGIS Service which typically only return only upto a 1000 results even if the query matched more features.

Since
100