Clip (Coverage)

License Level:BasicStandardAdvanced

Summary

Uses the outside polygon boundary of the clip coverage to cookie-cut features and attributes from the input coverage.

Learn more about how Clip works

Illustration

Clip illustration

Usage

Syntax

Clip_arc (in_cover, clip_cover, out_cover, {feature_type}, {fuzzy_tolerance})
ParameterExplanationData Type
in_cover

The coverage containing features to be clipped.

Coverage
clip_cover

The coverage whose outer polygon defines the clipping region.

Coverage
out_cover

The coverage to be created. The output coverage cannot already exist.

Coverage
feature_type
(Optional)

The feature class to be clipped:

  • POLYPolygons and region subclasses are clipped and a PAT is saved. Label points for remaining polygons are moved only if their original location falls outside the clipping boundary. Route systems are ignored.
  • LINEArcs are clipped, and an AAT is saved. Route systems are maintained.
  • POINTPoints are clipped, and a PAT is saved.
  • NETPolygons and arcs are clipped, and their PAT and AAT are saved. Route systems and regions are maintained and clipped.
  • LINKArcs and points are clipped, and their AAT and PAT are saved. Route systems are maintained.
  • RAWPoints, arcs, and annotation in a coverage with or without topology (no attribute files) are clipped. Route systems are maintained, but regions, PAT, and AAT are not saved.
String
fuzzy_tolerance
(Optional)

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

Learn more about how the default fuzzy tolerance is calculated

Double

Code Sample

Clip example (stand-alone script)

The following stand-alone script demonstrates how to create a new coverage that contains the clipped out area of a larger coverage.

# Name: Clip_Example.py
# Description: Clips a subset out of a polygon coverage.
# Requirements: ArcInfo Workstation

# Import system modules
import arcpy
from arcpy import env

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

# Set local variables
inCover = "tongass1"
clipCover = "tong_basin4"
outCover = "C:/output/basin4"
featureType = "POLY"

# Execute Clip
arcpy.Clip_arc(inCover, clipCover, outCover, featureType, "")

Environments

Related Topics

Licensing Information

ArcGIS for Desktop Basic: No
ArcGIS for Desktop Standard: No
ArcGIS for Desktop Advanced: Requires ArcInfo Workstation installed
6/18/2012