ArcGIS Desktop

  • ArcGIS Pro
  • ArcMap

  • My Profile
  • 帮助
  • Sign Out
ArcGIS Desktop

ArcGIS Online

专为贵组织打造的制图平台

ArcGIS Desktop

全面的专业性 GIS

ArcGIS Enterprise

面向企业的 GIS

ArcGIS Developers

用于构建位置感知应用程序的工具

ArcGIS Solutions

适用于行业的免费模板地图和应用程序

ArcGIS Marketplace

获取适用于组织的应用程序和数据

  • 文档
  • 支持
Esri
  • 登录
user
  • 我的个人资料
  • 登出

ArcMap

  • 主页
  • 入门
  • 地图
  • 分析
  • 管理数据
  • 工具
  • 扩展模块

Quick Export

需要 Data Interoperability 许可。

  • 描述
  • 使用方法
  • 语法
  • 代码示例
  • 环境
  • 许可信息

描述

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

使用方法

  • 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 setting.

  • This tool is most often used to create non-Esri data formats, but it also can create native Esri formats. You can view all export formats in the Formats Gallery accessible from this tool.

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

语法

arcpy.interop.QuickExport(Input, {Output})
参数说明数据类型
Input
[Input,...]

The feature layers or feature classes that will be exported from ArcGIS.

Feature Layer
Output
(可选)

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 Results window.

Interop Destination Dataset

代码示例

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.Buffer_analysis(input_features, tmp_buffered, "10.000000 Meters", "FULL", "ROUND", "NONE")

# Execute Dissolve
arcpy.Dissolve_management(tmp_buffered, tmp_dissolved)

# Execute Quick Export
arcpy.QuickExport_interop(tmp_dissolved, output_dataset)

环境

  • 当前工作空间
  • 临时工作空间

许可信息

  • Basic: 需要 Data Interoperability
  • Standard: 需要 Data Interoperability
  • Advanced: 需要 Data Interoperability

相关主题

  • An overview of the Data Interoperability toolbox
  • 使用结果窗口

ArcGIS Desktop

  • 主页
  • 文档
  • 支持

ArcGIS

  • ArcGIS Online
  • ArcGIS Desktop
  • ArcGIS Enterprise
  • ArcGIS
  • ArcGIS Developer
  • ArcGIS Solutions
  • ArcGIS Marketplace

关于 Esri

  • 关于我们
  • 招贤纳士
  • Esri 博客
  • 用户大会
  • 开发者峰会
Esri
分享您的想法。
Copyright © 2021 Esri. | 隐私政策 | 法律声明