Quick Export (Data Interoperability)

Disponible con una licencia de Data Interoperability.

Resumen

Converts one or more input feature classes or feature layers into any format supported by the Extensión ArcGIS Data Interoperability.

Uso

  • 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 nonnative to ArcGIS.

  • This tool creates a default output schema for the format you choose to write. If the output requires schema changes then you should consider using Spatial ETL tools.

  • This tool does not honor the geoprocessing overwrite output setting.

  • This tool is most often used to create non-Esri data formats, but it also can create native Esri formats.

  • Bezier curves found in the input are maintained as Bezier curves in the output feature classes.

Parámetros

EtiquetaExplicaciónTipo de datos
Input Layer

The feature layers or feature classes that will be exported.

Feature Layer
Output Dataset
(Opcional)

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

Interop Destination Dataset

arcpy.interop.QuickExport(Input, {Output})
NombreExplicaciónTipo de datos
Input
[Input,...]

The feature layers or feature classes that will be exported.

Feature Layer
Output
(Opcional)

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 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 using its dialog and copy the Python syntax from the History window.

Interop Destination Dataset

Muestra de código

QuickExport example (stand-alone script)

The following stand-alone script demonstrates how to use the QuickExport function.


# Name: QuickExport_Ex_01.py
# Description: Buffers any 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"

# Execute Buffer
arcpy.analysis.Buffer(input_features, tmp_buffered, "10.000000 Meters", "FULL", "ROUND", "NONE")

# Execute Dissolve
arcpy.management.Dissolve(tmp_buffered, tmp_dissolved)

# Execute Quick Export
arcpy.interop.QuickExport(tmp_dissolved, output_dataset)

Información de licenciamiento

  • Basic: Requiere Data Interoperability
  • Standard: Requiere Data Interoperability
  • Advanced: Requiere Data Interoperability

Temas relacionados