ArcGIS Runtime SDK for macOS: AGSGenerateGeodatabaseParameters Class Reference
ArcGIS Runtime SDK for macOS  100.5
AGSGenerateGeodatabaseParameters Class Reference

Description

Instances of this class represent parameters that are used with generateJobWithParameters:downloadFileURL: (AGSGeodatabaseSyncTask) to generate sync-enabled geodatabases from supporting ArcGIS Feature services.

Note
Consider using the convenience method AGSGeodatabaseSyncTask::getDefaultGenerateGeodatabaseParametersWithCompletion: to get a properly initialized instance of this class which takes into account the capabilities supported by the ArcGIS Feature service and the data it contains.
Since
100
See also
AGSGeodatabaseSyncTask to generate the geodatabase
AGSGeodatabase for edit and query operations suppported by the geodatabase
Inheritance diagram for AGSGenerateGeodatabaseParameters:
AGSObject

Class Methods

(instancetype) + generateGeodatabaseParameters
 

Properties

AGSAttachmentSyncDirection attachmentSyncDirection
 
AGSGeometryextent
 
NSArray< AGSGenerateLayerOption * > * layerOptions
 
AGSSpatialReferenceoutSpatialReference
 
BOOL returnAttachments
 
AGSSyncModel syncModel
 

Property Documentation

§ attachmentSyncDirection

- (AGSAttachmentSyncDirection) attachmentSyncDirection
readwritenonatomicassign

Specifies how the geodatabase should be configured to sync attachment data with its originating service.

Since
100

§ extent

- (AGSGeometry*) extent
readwritenonatomicstrong

The geographic extent within which features will be included in the sync-enabled geodatabase. To include non-spatial records, you must properly set up the layerOptions for that layer to include a AGSGenerateLayerOption::whereClause and set AGSGenerateLayerOption::useGeometry to NO

Since
100

§ layerOptions

- (NSArray<AGSGenerateLayerOption*>*) layerOptions
readwritenonatomiccopy

Options specifiying how to filter features for inclusion into the sync-enabled geodatabase on a layer-by-layer basis. If not specified, all features within the extent are included. For non-spatial records, you must set AGSGenerateLayerOption::useGeometry to NO and provide a AGSGenerateLayerOption::whereClause.

Since
100

§ outSpatialReference

- (AGSSpatialReference*) outSpatialReference
readwritenonatomicstrong

The spatial reference in which you would like the generated geodatabase. If the data on the server is not in this spatial reference, it will be reprojected before being included in the geodatabase.

Since
100

§ returnAttachments

- (BOOL) returnAttachments
readwritenonatomicassign

Indicates whether or not the sync-enabled geodatabase should contain attachments for the features that are included. Only applicable if the feature service supports attachments.

Since
100

§ syncModel

- (AGSSyncModel) syncModel
readwritenonatomicassign

Specifies whether the geodatabase should be configured to sync with the originating service as a whole or individually on a per layer basis.

Since
100