![]() |
Converts data in any format supported by the ArcGIS Data Interoperability extension into feature classes.
The output is stored in an interim staging geodatabase. The geodatabase can then be used or further post-processing can be performed.
This tool is used to either bring data into the ArcGIS environment, or as the beginning point in a model or script where data from outside ArcGIS will be processed.
The feature classes generated depend on the input data. For instance, if you import two MapInfo MIF/MID files, two features classes will be created.
This tool creates a new personal geodatabase, and will not append to an existing one.
The feature classes generated from the imported data can be accessed using the Select Data tool on the output staging personal geodatabase.
As data is imported, no changes to the data model are made. To transform the data model during import, a Custom Data Import Tool should be created and used.
The following environments affect this tool: extent, workspace, scratchWorkspace, MDomain, outputMFlag, outputZFlag, outputZFlag, spatialGrid1, workspace, XYDomain, ZDomain.
QuickImport <Input> <Output>
Parameters
Expression |
Explanation |
<Input> |
The data to be imported. The command syntax can take multiple forms:
|
<Output> |
The output staging personal geodatabase. |
Command-Line Example
QuickImport c:\Data\roads.tab c:\out\roads.mdb
QuickImport MIF,c:\Data\*.* c:\out\alldata.mdb
QuickImport (Input, Output)
Parameters
Expression |
Explanation |
Input Dataset (Required) |
The data to be imported. The command syntax can take multiple forms:
|
Output Staging Geodatabase (Required) |
The output staging personal geodatabase. |
Script Example
# Purpose: Import a Mapinfo TAB file, and select a specific layer from it
# Import system modules
import sys, string, os, win32com.client
# Create the Geoprocessor object
gp = Dispatch("esriGeoprocessing.GpDispatch.1")
# Local variables...
tab_to_import = "MAPINFO,C:/Data/exercise1/ROADS/roads.tab"
null_mdb = "C:/DOCUME~1/madam/LOCALS~1/Temp/null.mdb"
ROADS_LINE = "C:/DOCUME~1/madam/LOCALS~1/Temp/null.mdb/ROADS_LINE"
# Process: Quick Import...
gp.QuickImport(tab_to_import, null_mdb)
# Process: Select Data...
gp.SelectData_management(null_mdb, "ROADS_LINE", ROADS_LINE)