Quick Export: ArcToolbox
Converts one or more input Feature classes or Feature layers into any
format supported by the
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.
|
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.
|
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)