Identity

Titleā€ƒ Identity

Summary

Geoprocessing tool computes a geometric intersection of the input features and identity features.


Illustration

Identity tool Identity illustration

Usage


Syntax

Parameter Explanation
in_features

The input feature class or layer.

identity_features

The identity feature class or layer. Must be polygons or the same geometry type as the input features.

out_feature_class (Optional)

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

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).

esri_out_feature_service_name (Optional)

The name of the optional feature service to create on the federated server containing the result of this tool. If no name is specified an output feature service will not be created.

Code Samples

Identity example 1 (Python window)

The following Python window script demonstrates how to use the Identity function in immediate mode.


import arcpy
from arcpy import env
env.workspace = "c:/data/data.gdb"
arcpy.Identity_analysis("wells", "counties", "wells_w_county_info")
                    

Identity example 2 (stand-alone Python script)

The following stand-alone Python script is a simple example of how to apply the Identity function in scripting.


# IdentityWells.py
# Description: Simple example showing use of Identity tool
 
# Import system modules
import arcpy
from arcpy import env

# Set the workspace
env.workspace = "C:/data/data.gdb"

# Set local parameters
inFeatures = "wells"
idFeatures = "counties"
outFeatures = "wells_w_county_info"

# Process: Use the Identity function
arcpy.Identity_analysis (inFeatures, idFeatures, outFeatures)
 
                    

Tags

Credits

Use limitations