GeoData Service ExtractData method

Extract a set of data within a geodatabase.

 

ExtractData(string VersionName, GPReplicaDescription ReplicaDescription, GDSExportOptions ExportOptions, esriGDSTransportType TransportType)

 

Parameter

Description

VersionName

 

If the Geodata service references an ArcSDE geodatabase, this parameter defines the version from which the data will be extracted.
 

ReplicaDescription

 

A description of the data to replicate as well as various settings that define how the data will be replicated.  For example, you can set a spatial filter, set the replica model type, and specify whether or not to include related data.  See the GPReplicaDescription class for more information.
 

ExportOptions

 

Defines the output of the method. This includes the output format and whether or not the output will be compressed. See GDSExportOptions for more information.
 

TransportType

 

Defines how the client will be able to retrieve the results.  See esriGDSTransportType for more information.
 

 

Return Value

 

A GDSData object.

 

Remarks

 

The ExtractData method can be used to extract and download a spatial subset of data from a specified set of datasets. Only datasets that are accessible by the database user associated with the geodata service are accessible.  The data to be extracted is specified by a ReplicaDescription object. Both vector and raster data can be extracted. A separate attribute query can be applied to each table or feature class. Related records may be fetched as part of the extract.

 

Examples

C#

VB.NET

Java