Update IDs (Coverage)
Summary
Updates User-IDs in a coverage after they have been modified in a feature attribute table. The feature attribute table is used to determine the correct User-ID for each feature in the coverage. This value is recorded in all places where the feature User-ID is stored.
Usage
-
Tools such as Add Item and Calculate Field can be used to add or modify User-IDs in a coverage's feature attribute table before Update IDs is used.
-
If the Create Labels tool has been used to create new label points for coverage polygons, the polygon User-IDs stored in the coverage PAT are not equal to the new label point User-IDs. Create Labels stores the new label points and their User-IDs in the LAB file. Update IDs may be used to change the label point User-IDs to be equal to the User-IDs stored in the PAT.
-
To change the User-IDs stored in the PAT to be equal to the label point User-IDs, use the Build tool.
-
There is no NODE option because the Update IDs tool is not necessary after updating User-IDs in the NAT file.
Syntax
Parameter | Explanation | Data Type |
in_cover |
The coverage for which User-IDs have been modified. | Coverage |
feature_type |
Specifies the class of features for which User-IDs are to be updated.
| String |
Code Sample
The following stand-alone script demonstrates how to update User-IDs in a coverage.
# Name: IDEdit_Example.py
# Description: Adds polygon labels, then updates the User-IDs for a coverage
# Requirements: ArcInfo Workstation
# Import system modules
import arcpy
from arcpy import env
# Set environment settings
env.workspace = "C:/data"
# Set local variables
inCover = "texas"
featureType = "POLY"
#Execute IDEdit
arcpy.IDEdit_arc(inCover, featureType)