标注 | 说明 | 数据类型 |
Input Dataset | The input data source, which can be a file, folder, or URL. | Interop Source Dataset |
Output Geodatabase | The output file geodatabase. | Workspace |
需要 Data Interoperability 许可。
摘要
Converts vector or tabular data in any format supported by the ArcGIS Data Interoperability extension into feature classes or tables.
The output is written to a geodatabase. The geodatabase can then be used directly or additional postprocessing can be performed.
使用情况
This tool imports nonnative data into ArcGIS. The output will typically require additional processing before you can integrate it with existing data or formats.
The number of output feature classes depends on the input data and the format. For example, if you import two MapInfo MIF/MID files, the tool will create two features classes.
To convert raster and point cloud data, create a spatial ETL tool with a reader and writer of your choice.
This tool creates a default output schema for the output geodatabase. If the output requires schema changes, use the spatial ETL tool instead.
When using 模型构建器, access the feature classes in the output geodatabase using the Select Data tool.
Any Bézier curves in the input will be maintained as Bézier curves in the output.
参数
arcpy.interop.QuickImport(Input, Output)
名称 | 说明 | 数据类型 |
Input | The input data source, which can be a file, folder, or URL. The syntax of the parameter value is described as follows:
| Interop Source Dataset |
Output | The output file geodatabase. | Workspace |
代码示例
The following stand-alone script demonstrates how to use the QuickImport function.
# Requirements: None
# Description: Import MapInfo file to a geodatabase.
# Import system modules
import arcpy
# Check out the Data Interoperability Extension
arcpy.CheckOutExtension("DataInteroperability")
# Set local variables
mif_table = "c:/data/roads.tab"
out_gdb = "c:/workspace/mif_output.gdb"
# Run Quick Import
arcpy.interop.QuickImport(mif_table, out_gdb)
环境
许可信息
- Basic: 需要 Data Interoperability
- Standard: 需要 Data Interoperability
- Advanced: 需要 Data Interoperability