Label | Explanation | Data Type |
Input Layer | The feature layers or feature classes that will be exported. | Feature Layer |
Output Dataset (Optional) | The format and dataset to which the data will be exported. | Interop Destination Dataset |
Available with Data Interoperability license.
Summary
Converts one or more input feature classes or feature layers into any format supported by the ArcGIS Data Interoperability extension.
Usage
This tool is used to either export data from ArcGIS or as the final step in a model or script when the destination data is nonnative to ArcGIS.
This tool creates a default output schema for the output format. If the output requires schema changes, consider using Spatial ETL tools.
This tool does not honor the Allow geoprocessing tools to overwrite existing datasets option.
Although this tool is most commonly used to create non-Esri data formats, it can also create native Esri formats.
Any Bézier curves in the input will be maintained as Bézier curves in the output.
Parameters
arcpy.interop.QuickExport(Input, {Output})
Name | Explanation | Data Type |
Input [Input,...] | The feature layers or feature classes that will be exported. | Feature Layer |
Output (Optional) | The format and dataset to which the data will be exported. If the destination is a file with a well-known file extension, it can be provided as is, for example, c:\data\roads.gml. If the destination is not a file, or the file has an unknown extension, the format can be provided as part of the argument, separated by a comma, for example, MIF,c:\data\. The names for the supported formats are found in the Writer Gallery by opening this tool in the Geoprocessing pane, clicking the parameter's Browse button, and selecting the More Formats option for the Format parameter. 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 from the Geoprocessing pane, and from the Run menu, specify the Copy Python Command option to create the expected Python syntax. | Interop Destination Dataset |
Code sample
The following stand-alone script demonstrates how to use the QuickExport function.
# Description: Buffer a layer and exports it to GML.
# Requirements: Data Interoperability Extension
# Import system modules
import arcpy
# Check out the Data Interoperability Extension
arcpy.CheckOutExtension("DataInteroperability")
# Set local variables
tmp_buffered = "c:/Project/tmp_buffered.shp"
tmp_dissolved = "c:/Project/tmp_dissolved.shp"
output_dataset = "GML2,c:/data/buffered.gml"
input_features = "C:/Project/roads.shp"
# Run Buffer
arcpy.analysis.Buffer(input_features, tmp_buffered, "10.000000 Meters", "FULL",
"ROUND", "NONE")
# Run Dissolve
arcpy.management.Dissolve(tmp_buffered, tmp_dissolved)
# Run Quick Export
arcpy.interop.QuickExport(tmp_dissolved, output_dataset)
Environments
Licensing information
- Basic: Requires Data Interoperability
- Standard: Requires Data Interoperability
- Advanced: Requires Data Interoperability