Show Navigation | Hide Navigation
You are here:
Geoprocessing tool reference > Analysis toolbox > Overlay toolset > Tools

Update (Analysis) (ArcInfo only)

Release 9.2
Last modified January 13, 2009
E-mail This Topic Printable Version Give Us Feedback

Print all topics in : "Tools"


Related Topics

Computes a geometric intersection of the Input Features and Update Features. The attributes and geometry of the Input Features are updated by the Update Features. The results are written to the Output Feature Class.

Learn more about how Update works


Illustration

Update illustration

Usage tips

Command line syntax
An overview of the Command Line window
Update_analysis <in_features> <update_features> <out_feature_class> {BORDERS | NO_BORDERS} {cluster_tolerance}

Parameter Explanation Data Type
<in_features>

The input feature class or layer. Geometry type must be polygon.

Feature Layer
<update_features>

The features that will be used to update the Input features. Geometry type must be polygon.

Feature Layer
<out_feature_class>

The feature class to contain the results. Do not set this to be the same as the Input Features.

Feature Class
{BORDERS | NO_BORDERS}

Specifies whether the boundary of the update polygon features will be kept.

  • KEEP_BORDER — The outside border of the Update Features will be kept in the Output Feature Class. This is the default option.
  • DROP_BORDER — The outside border of the Update Features are dropped after they are inserted into the Input Features. Item values of the Update Features take precedence over Input features attributes.

Boolean
{cluster_tolerance}

The minimum distance separating all feature coordinates (nodes and vertices) as well as the distance a coordinate can move in X or Y (or both). You can set the value to be higher for data that has less coordinate accuracy and lower for datasets with extremely high accuracy.

Linear unit
Data types for geoprocessing tool parameters


Command line example

update_analysis city_lots.shp flood_levels/polygon c:\city.mdb\low_lots DROP_BORDER 0.0003

Scripting syntax
About getting started with writing geoprocessing scripts
Update_analysis (in_features, update_features, out_feature_class, keep_borders, cluster_tolerance)

Parameter Explanation Data Type
in_features (Required)

The input feature class or layer. Geometry type must be polygon.

Feature Layer
update_features (Required)

The features that will be used to update the Input features. Geometry type must be polygon.

Feature Layer
out_feature_class (Required)

The feature class to contain the results. Do not set this to be the same as the Input Features.

Feature Class
keep_borders (Optional)

Specifies whether the boundary of the update polygon features will be kept.

  • KEEP_BORDER — The outside border of the Update Features will be kept in the Output Feature Class. This is the default option.
  • DROP_BORDER — The outside border of the Update Features are dropped after they are inserted into the Input Features. Item values of the Update Features take precedence over Input features attributes.

Boolean
cluster_tolerance (Optional)

The minimum distance separating all feature coordinates (nodes and vertices) as well as the distance a coordinate can move in X or Y (or both). You can set the value to be higher for data that has less coordinate accuracy and lower for datasets with extremely high accuracy.

Linear unit

Data types for geoprocessing tool parameters


Script example

# Create the geoprocessor
import arcgisscripting
gp = arcgisscripting.create()

# Use error trapping in case a problem occurs when running the Update tool
try:
    gp.workspace = "c:/data/city.mdb"
    gp.Update("lots", "c:/test_data/shp/cutzones.shp", "c:/test_data/gdb.mdb/futurecut", "only_fid" "0.25")

except:
    print gp.GetMessage()

Please visit the Feedback page to comment or give suggestions on ArcGIS Desktop Help.
Copyright © Environmental Systems Research Institute, Inc.