Disponible avec une licence Data Interoperability.
Résumé
Converts data in any format supported by the ArcGIS Data Interoperability extension into feature classes.
The output is stored in a geodatabase. The geodatabase can then be used directly or further post-processing can be performed.
Utilisation
This tool is used to import nonnative data to the ArcGIS environment. The output usually requires additional processing before it can be integrated with existing data or formats.
This tool can be used as the first step in a model or script in the ArcGIS framework.
The feature classes that are generated depend on the input data. For instance, if you import two MapInfo MIF/MID files, two features classes will be created.
This tool honors the Geoprocessing overwrite setting.
When in ModelBuilder the feature classes that are generated in the output geodatabase can be accessed using the Select Data tool.
This tool creates a default output schema for the geodatabase that is created. If the output requires schema changes, then the Spatial ETL Tool should be used.
Bezier curves found in the input are maintained as Bezier curves in the output feature classes.
Syntaxe
arcpy.interop.QuickImport(Input, Output)
Paramètre | Explication | Type de données |
Input | The data to be imported. The syntax can take multiple forms:
| Interop Source Dataset |
Output | The output file or personal geodatabase. | Workspace |
Exemple de code
QuickImport example (stand-alone script)
The following stand-alone script demonstrates how to use the QuickImport function.
# Name: QuickImport_Ex_01.py
# Requirements: None
# Description: Imports Map Info 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"
output_gdb = "c:/workspace/mif_output.gdb"
# Execute Quick Ixport
arcpy.QuickImport_interop(mif_table, output_gdb)
Environnements
Cet outil n'utilise pas d’environnement de géotraitement.
Informations de licence
- Basic: Requiert Data Interoperability
- Standard: Requiert Data Interoperability
- Advanced: Requiert Data Interoperability