Quick Export: ArcToolbox

Converts one or more input Feature classes or Feature layers into any format supported by the FME Extension for ArcGIS.

Usage Tips

  • This tool is used to either export data from ArcGIS, or as the final step in a model or script where the destination data is external to ArcGIS.
  • During the export, no change to the data model is made, if this is desired, a custom data export tool should be created and used.
  • Geodatabase topology or relationship feature types are not exported.
  • This tool is generally used to either export data from ArcGIS, or as the final step in a model or script where data should end up outside ArcGIS.

Command-Line Syntax

QuickExport <Input;Input...> <Output>

Parameters

Expression

Explanation

<Input;Input...>

The layers that will be exported from ArcGIS.

<Output>

The format and dataset that the data will be exported to.

  • If the destination is a file with a well-known file extension, it can be given as-is. For instance: c:\data\roads.gml.
  • If the destination is not a file, or the file has an unknown extension, the format can be given as part of the argument, separated by a comma. For instance: MIF,c:\data\. The names for supported formats can be found in the formats gallery, by opening up this tool in dialog mode and clicking the browse button.
  • Additional format-specific parameters can be added after the dataset, separated by a comma. However, the syntax can be complex, so if this is required, it is easiest to run the tool in its dialog box in ArcToolbox and copy the command syntax from the results window.

Command-Line Example

QuickExport c:\Data\roads.shp c:\out\roads.gml
QuickExport c:\Data\roads.shp;c:\Data\rivers.shp MIF,c:\mif-files

Scripting syntax

QuickExport (Input, Output)

Parameters

Expression

Explanation

Input Layer (Required)  

The layers that will be exported from ArcGIS.

Output Dataset (Required)  

The format and dataset that the data will be exported to.

  • If the destination is a file with a well-known file extension, it can be given as-is. For instance: c:\data\roads.gml.
  • If the destination is not a file, or the file has an unknown extension, the format can be given as part of the argument, separated by a comma. For instance: MIF,c:\data\. The names for supported formats can be found in the formats gallery, by opening up this tool in dialog mode and clicking the browse button.
  • Additional format-specific parameters can be added after the dataset, separated by a comma. However, the syntax can be complex, so if this is required it is easiest to run the tool in its dialog box in ArcToolbox and copy the command syntax from the results window.

Script Example

Copy
# Purpose: Buffer any layer and export it to GML
# Import system modules
import sys, string, os, win32com.client
# Create the Geoprocessor object
gp = Dispatch("esriGeoprocessing.GpDispatch.1")
# Local variables...
tmp_buffered = "c:/Project/tmp_buffered.shp"
tmp_dissolved = "c:/Project/tmp_dissolbed.shp"
Output_Dataset = "GML2,c:/data/buffered.gml"
Input_Features = ""
# Process: Buffer...
gp.Buffer_analysis(Input_Features, tmp_buffered, "10.000000 Meters", "FULL", "ROUND", "NONE", "")
# Process: Dissolve...gp.Dissolve_management(tmp_buffered, tmp_dissolved, "", "")
# Process: Quick Export...
gp.QuickExport(tmp_dissolved, Output_Dataset)