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

Identity (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 Identity Features. The Input Features or portions thereof that overlap Identity Features will get the attributes of those Identity Features.

Learn more about how Identity works


Illustration

Identity illustration

Usage tips

Command line syntax
An overview of the Command Line window
Identity_analysis <in_features> <identity_features> <out_feature_class> {NO_FID | ONLY_FID | ALL} {cluster_tolerance} {KEEP_RELATIONSHIPS | NO_RELATIONSHIPS}

Parameter Explanation Data Type
<in_features>

The input feature class or layer.

Feature Layer
<identity_features>

The identity feature class or layer. Must be polygons.

Feature Layer
<out_feature_class>

The feature class that will be created and to which the results will be written.

Feature Class
{NO_FID | ONLY_FID | ALL}

Determines what attributes will be transferred to the Output Feature Class

  • ALL — All the attributes (including FIDs) from the Input Features as well as the Identity Features will be transferred to the Output Feature Class. This is the default.
  • NO_FID — All the attributes except the FID from the Input Features and Identity Features will be transferred to the Output Feature Class.
  • ONLY_FID — All the attributes from the Input Features but only the FID from the Identity Features will be transferred to the Output Feature Class.

String
{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
{KEEP_RELATIONSHIPS | NO_RELATIONSHIPS}

Choose if you want additional spatial relationships between the Input Features and Identity Features to be written to the output. This only applies when the Input Features are lines and the Identity Features are polygons

  • NO_RELATIONSHIPS — No additional spatial relationship will be determined.
  • KEEP_RELATIONSHIPS — Left and right polygon information will be determined for line on polygon identity and written into the RIGHT_poly, LEFT_poly field in the output.

Boolean
Data types for geoprocessing tool parameters


Command line example

identity_analysis wells counties wells_w_county_info 

Scripting syntax
About getting started with writing geoprocessing scripts
Identity_analysis (in_features, identity_features, out_feature_class, join_attributes, cluster_tolerance, relationship)

Parameter Explanation Data Type
in_features (Required)

The input feature class or layer.

Feature Layer
identity_features (Required)

The identity feature class or layer. Must be polygons.

Feature Layer
out_feature_class (Required)

The feature class that will be created and to which the results will be written.

Feature Class
join_attributes (Optional)

Determines what attributes will be transferred to the Output Feature Class

  • ALL — All the attributes (including FIDs) from the Input Features as well as the Identity Features will be transferred to the Output Feature Class. This is the default.
  • NO_FID — All the attributes except the FID from the Input Features and Identity Features will be transferred to the Output Feature Class.
  • ONLY_FID — All the attributes from the Input Features but only the FID from the Identity Features will be transferred to the Output Feature Class.

String
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
relationship (Optional)

Choose if you want additional spatial relationships between the Input Features and Identity Features to be written to the output. This only applies when the Input Features are lines and the Identity Features are polygons

  • NO_RELATIONSHIPS — No additional spatial relationship will be determined.
  • KEEP_RELATIONSHIPS — Left and right polygon information will be determined for line on polygon identity and written into the RIGHT_poly, LEFT_poly field in the output.

Boolean

Data types for geoprocessing tool parameters


Script example

# IdentityWells.py
# Description: Simple example showing use of Identity tool
# Requirements: Python and the Python win32all extension
# Author: ESRI
# Data 1/1/2004

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

# Use error trapping in case a problem occurs when running the Identity tool
try:
    gp.identity_analysis("wells", "counties", "wells_w_county_info")

except:
    # If an error occurred, print out the error message
    print gp.GetMessage()

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