Quick Import (Data Interoperability)

Data Interoperability のライセンスで利用可能。

サマリー

Converts vector or tabular data in any format supported by the ArcGIS Data Interoperability エクステンション 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 ModelBuilder, 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.

パラメーター

ラベル説明データ タイプ
Input Dataset

The input data source, which can be a file, folder, or URL.

Interop Source Dataset
Output Geodatabase

The output file geodatabase.

Workspace

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:

  • If the source data is a file with a well-known file extension, specify the full path of the file, for example, c:\data\roads.mif.
  • If the source data is a folder, or a file that is unknown to ArcGIS , include the format as part of the parameter value separated by a comma, for example, MIF,c:\data\roads.mif. The names for supported formats are found in the Reader 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.
  • Use wildcards to read multiple datasets, for example, MIF,c:\data\roads*.*.
    • Use an asterisk (*) to match any series of characters for all files in the current directory. For example, c:\data\roads*.mif will match c:\data\roads.mif, c:\data\roads5.mif, and c:\data\roads-updated.mif.
    • Use two asterisks (**) to match any subdirectories, recursively. For example, c:\data\**\*.mif will match c:\data\roads.mif, c:\data\canada\rivers.mif, and c:\data\canada\alberta\edmonton.mif.
  • 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 Source Dataset
Output

The output file geodatabase.

Workspace

コードのサンプル

QuickImport example (stand-alone script)

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

関連トピック