A model helps automate importing by allowing you to save and reuse environment settings and tool parameters. Once you've created a model, you can import data, edit the model to specify other input data, modify parameters, and rerun the model.
Learn more about models and model building Tip: The fields you create in the new feature classes are named the same as the fields you're importing. However, any invalid characters in the field names are automatically replaced. For example, a hyphen is replaced with an underscore. Each feature class has a spatial reference with a coordinate system that defines how its locations are georeferenced.
When importing feature classes, it is important to note the coordinate system of the dataset being imported. When you import into a feature dataset, the new feature class automatically takes on the same spatial reference as that feature dataset. If you import into a geodatabase, a new standalone feature class is created with the same spatial reference as the dataset you're importing.
Learn more about spatial references. Suppose you want to import a feature class that's in another coordinate system. For example, you may want to import a feature class that uses the North American Datum NAD coordinate system into a feature dataset that uses the NAD coordinate system. To simultaneously import the data and convert it into the new coordinate system, use the Project tool. Learn more about the Project tool. The following stand-alone script demonstrates how to import a file from an ArcInfo interchange file.
In this example, the. The script first detects and deletes the existing aml and then replaces it by importing it from the. Arc GIS Desktop. ImportFromE00 example 1 Python window The following Python window script demonstrates how to use the ImportFromE00 tool in immediate mode to import a coverage. ImportFromE00 example 2 stand-alone script The following stand-alone script demonstrates how to import a file from an ArcInfo interchange file.
Import system modules import arcpy from arcpy import env import os Set environment settings env. INFO table names should be 32 characters or shorter. Other coverage name limitations are listed in Knowlege Base article When importing INFO tables, you do not need to use the!
Simply set the parameter to include the path to the target workspace and the name of the table you desire. The table will be created in that workspace's INFO database. ArcInfo Workstation interchange file to convert. The name of this file cannot contain spaces.
The location in which the output will be created.
0コメント