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

Description

Information about an individual layer or table in ArcGIS Feature Service.

Instances of this class represent information about an individual layer or table in an ArcGIS Feature Service.

Since
100
Inheritance diagram for AGSArcGISFeatureLayerInfo:
AGSObject

Instance Methods

(nullable AGSFeatureType *) - featureTypeWithName:
 
(nullable AGSField *) - fieldWithName:
 

Properties

BOOL allowGeometryUpdates
 
NSString * attribution
 
AGSFeatureServiceCapabilitiescapabilities
 
NSString * CIMVersion
 
BOOL dataVersioned
 
id defaultSubtypeCode
 
NSString * displayFieldName
 
AGSDrawingInfodrawingInfo
 
AGSEditFieldsInfoeditFieldsInfo
 
double effectiveMaxScale
 
double effectiveMinScale
 
AGSEnvelopeextent
 
NSArray< AGSFeatureSubtype * > * featureSubtypes
 
NSArray< AGSFeatureTemplate * > * featureTemplates
 
NSArray< AGSFeatureType * > * featureTypes
 
NSArray< AGSField * > * fields
 
AGSGeometryType geometryType
 
NSString * globalIDFieldName
 
BOOL hasAttachments
 
BOOL hasM
 
BOOL hasZ
 
NSString * layerDescription
 
NSInteger maxRecordCount
 
double maxScale
 
double minScale
 
NSString * objectIDFieldName
 
AGSOwnershipBasedAccessControlInfoownershipBasedAccessControl
 
NSArray< AGSRelationshipInfo * > * relationshipInfos
 
NSInteger serviceLayerID
 
NSString * serviceLayerName
 
AGSServiceType serviceSourceType
 
AGSArcGISFeatureLayerInfoServiceType serviceType
 
NSString * subtypeField
 
BOOL supportsAdvancedQueries
 
BOOL supportsOBACForAnonymousUsers
 
BOOL supportsPagination
 
BOOL supportsQueryExtent
 
BOOL supportsRollbackOnFailureParameter
 
BOOL supportsStatistics
 
AGSLayerTimeInfotimeInfo
 
NSString * typeIDFieldName
 
NSURL * URL
 
NSString * version
 
BOOL visibleByDefault
 
double zDefault
 
BOOL zDefaultsEnabled
 

Method Documentation

◆ featureTypeWithName:

- (nullable AGSFeatureType*) featureTypeWithName: (NSString *)  name

Convenience method to find feature type with the given name

Parameters
nameThe name of the feature type.
Returns
feature type
Since
100

◆ fieldWithName:

- (nullable AGSField*) fieldWithName: (NSString *)  name

Convenience method to find a field with the given name

Parameters
nameThe name of the field.
Returns
field
Since
100

Property Documentation

◆ allowGeometryUpdates

- (BOOL) allowGeometryUpdates
readnonatomicassign

Indicates whether geometry of existing features can be updated

Since
100

◆ attribution

- (NSString*) attribution
readnonatomiccopy

Attribution information

Since
100

◆ capabilities

- (AGSFeatureServiceCapabilities*) capabilities
readnonatomicstrong

Capabilities supported by the service

Since
100

◆ CIMVersion

- (NSString*) CIMVersion
readnonatomiccopy

The layer's CIM (Cartographic Information Model) version.

Since
100.1

◆ dataVersioned

- (BOOL) dataVersioned
readnonatomicassign

Indicates whether data in the service is versioned

Since
100

◆ defaultSubtypeCode

- (id) defaultSubtypeCode
readnonatomiccopy

The code for the default feature subtype of this sublayer

Since
100.3

◆ displayFieldName

- (NSString*) displayFieldName
readnonatomiccopy

The field which should be used to display a title for features in the service

Since
100

◆ drawingInfo

- (AGSDrawingInfo*) drawingInfo
readnonatomicstrong

Information about how features in the service should be displayed on a map

Since
100

◆ editFieldsInfo

- (AGSEditFieldsInfo*) editFieldsInfo
readnonatomicstrong

Metadata specifying which fields or attributes of a feature contain information about who created/edited the feature and when was it created/edited.

Since
100

◆ effectiveMaxScale

- (double) effectiveMaxScale
readnonatomicassign

The maximum scale at which this layer or any of its parents is visible. If the map is zoomed in beyond this scale, the layer will not be visible.

Since
100

◆ effectiveMinScale

- (double) effectiveMinScale
readnonatomicassign

The minimum scale at which this layer or any of its parents is visible. If the map is zoomed out beyond this scale, the layer will not be visible.

Since
100

◆ extent

- (AGSEnvelope*) extent
readnonatomicstrong

The geographic extent this layer covers

Since
100

◆ featureSubtypes

- (NSArray<AGSFeatureSubtype*>*) featureSubtypes
readnonatomiccopy

The list of feature subtypes available for this sublayer. For example, a roads sublayer may contain 2 feature sub-types : highways and streets.

Since
100.3

◆ featureTemplates

- (NSArray<AGSFeatureTemplate*>*) featureTemplates
readnonatomiccopy

A collection of AGSFeatureTemplate objects representing feature templates for the layer. Usually only present if the layer does not contain feature sub-types. Only applicable if this dataset is based on an ArcGIS Feature Service.

Since
100

◆ featureTypes

- (NSArray<AGSFeatureType*>*) featureTypes
readnonatomiccopy

A collection of AGSFeatureType objects representing feature sub-types in the layer. For example, a roads layer may contain 2 feature sub-types : highways and streets.

Availability:
This feature is only available with services from ArcGIS Server 10.0 or above

Since
100

◆ fields

- (NSArray<AGSField *>*) fields
readnonatomiccopy

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

Since
100

◆ geometryType

- (AGSGeometryType) geometryType
readnonatomicassign

The type of geometry contained by features in the service

Since
100

◆ globalIDFieldName

- (NSString*) globalIDFieldName
readnonatomiccopy

The name of field which contains the GLOBALID for each feature

Since
100

◆ hasAttachments

- (BOOL) hasAttachments
readnonatomicassign

Indicates whether features may have attachments.

Since
100

◆ hasM

- (BOOL) hasM
readnonatomicassign

Indicates whether features may contain M values

Since
100

◆ hasZ

- (BOOL) hasZ
readnonatomicassign

Indicates whether features may contain Z values

Since
100

◆ layerDescription

- (NSString*) layerDescription
readnonatomiccopy

◆ maxRecordCount

- (NSInteger) maxRecordCount
readnonatomicassign

The maximum number of results returned by the service for any query operation

Since
100

◆ maxScale

- (double) maxScale
readnonatomicassign

The maximum scale at which this layer is visible. If the map is zoomed in beyond this scale, the layer will not be visible.

Since
100

◆ minScale

- (double) minScale
readnonatomicassign

The minimum scale at which this layer is visible. If the map is zoomed out beyond this scale, the layer will not be visible.

Since
100

◆ objectIDFieldName

- (NSString*) objectIDFieldName
readnonatomiccopy

The name of field which contains the OBJECTID for each feature

Since
100

◆ ownershipBasedAccessControl

- (AGSOwnershipBasedAccessControlInfo*) ownershipBasedAccessControl
readnonatomicstrong

Information about ownership-based access policies governing who can edit, delete, and query features.

Since
100

◆ relationshipInfos

- (NSArray<AGSRelationshipInfo*>*) relationshipInfos
readnonatomiccopy

Information about this layer's relationships with other layers or tables in the ArcGIS Service

Since
100.1

◆ serviceLayerID

- (NSInteger) serviceLayerID
readnonatomicassign

The ID of the layer or table in the service.

Since
100

◆ serviceLayerName

- (NSString*) serviceLayerName
readnonatomiccopy

The name of the layer/table in the service

Since
100

◆ serviceSourceType

- (AGSServiceType) serviceSourceType
readnonatomicassign

The type of service this layer came from.

Since
100

◆ serviceType

- (AGSArcGISFeatureLayerInfoServiceType) serviceType
readnonatomicassign

The service type of layer info.

Since
100

◆ subtypeField

- (NSString*) subtypeField
readnonatomiccopy

The name of the field which contains the sub-type information for each feature in this sublayer

See also
featureSubtypes
Since
100.3

◆ supportsAdvancedQueries

- (BOOL) supportsAdvancedQueries
readnonatomicassign

Indicates whether the service support advanced query operations (such as ordering results, or returning distinct results)

Since
100

◆ supportsOBACForAnonymousUsers

- (BOOL) supportsOBACForAnonymousUsers
readnonatomicassign

Indicates whether the service supports ownership-based access control for anonymous users

Since
100.3

◆ supportsPagination

- (BOOL) supportsPagination
readnonatomicassign

Indicates whether the service supports queries that can be use to limit the number of results returned and paginate the results.

Since
100.2

◆ supportsQueryExtent

- (BOOL) supportsQueryExtent
readnonatomicassign

Indicates whether the service supports querying

Since
100.2

◆ supportsRollbackOnFailureParameter

- (BOOL) supportsRollbackOnFailureParameter
readnonatomicassign

Indicates whether the service is capable of rolling back all edit operations in a batch if any one of the operations in the batch fails

Since
100

◆ supportsStatistics

- (BOOL) supportsStatistics
readnonatomicassign

Indicates whether the service is capable of returning statistics for query results

Since
100

◆ timeInfo

- (AGSLayerTimeInfo*) timeInfo
readnonatomicstrong

Time information for the layer, such as start time field, end time field, track id field, layers time extent and the draw time interval. Only applicable if the layer is time aware.

Since
100

◆ typeIDFieldName

- (NSString*) typeIDFieldName
readnonatomiccopy

The name of the field which contains the sub-type information for each feature.

Availability:
This feature is only available with services from ArcGIS Server 10.0 or above

Since
100

◆ URL

- (NSURL*) URL
readnonatomicstrong

The URL of the ArcGIS Feature service layer.

Since
100

◆ version

- (NSString*) version
readnonatomiccopy

The version of the service

Since
100

◆ visibleByDefault

- (BOOL) visibleByDefault
readnonatomicassign

Default visibility state

Since
100

◆ zDefault

- (double) zDefault
readnonatomicassign

Defaut z-values for features created without a valid z-value. Only applicable if zDefaultsEnabled is true.

Since
100

◆ zDefaultsEnabled

- (BOOL) zDefaultsEnabled
readnonatomicassign

Indicates whether a default z-value will be applied for features created without a z-value

Since
100