Update (Coverage)

Summary

Replaces the input coverage areas with the update coverage polygons using a cut and paste operation.

Learn more about how Update works

Illustration

Update illustration

Usage

Syntax

Update_arc (in_cover, update_cover, out_cover, {feature_type}, {fuzzy_tolerance}, {keep_border})
ParameterExplanationData Type
in_cover

The coverage containing polygons to be updated.

Coverage
update_cover

The coverage whose polygons will replace input coverage areas.

Coverage
out_cover

The coverage to be created.

Coverage
feature_type
(Optional)

The set of feature classes to be updated.

  • POLYPolygons and PAT values are updated. This is the default option.
  • NETPolygons and arcs, as well as PAT and AAT values, are updated.
String
fuzzy_tolerance
(Optional)

The minimum distance between coordinates in the output coverage. By default, the minimum fuzzy tolerance value from the input and erase coverages is used.

Learn more about how the default fuzzy tolerance is calculated

Double
keep_border
(Optional)

Specifies whether the outside border of the update coverage will be kept after it is inserted into the input coverage.

  • KEEP_BORDERThe outside border of the update coverage will be kept in the output coverage. This is the default option.
  • DROP_BORDERThe outside border of the update coverage is dropped after the update coverage is inserted into the input coverage. Item values of the update polygons take precedence over input coverage item values in the output coverage.
Boolean

Code Sample

Update example (stand-alone script)

The following stand-alone script demonstrates how to use the Update tool.

# Name: Update_Example.py
# Description: Updates a coverage
# Requirements: ArcInfo Workstation
# Author: ESRI

# Import system modules
import arcpy
from arcpy import env

# Set environment settings
env.workspace = "C:/data"

# Set local variables
inCover = "c3zone4"
updateCover = "newsub"
outCover = "C:/output/newc3zone4"
featureType = "POLY"

# Execute Update
arcpy.Update_arc(inCover, updateCover, outCover, featureType, "", "")

Environments

Related Topics

Licensing Information

ArcView: No
ArcEditor: No
ArcInfo: Requires ArcInfo Workstation installed

Published 6/8/2010