Erase (Coverage)

This tool only works with an ArcInfo license and will only be available in ArcToolbox if you have installed ArcInfo Workstation.

Creates a new output coverage by overlaying the polygons of the erase coverage with the features of the input coverage.

Only those portions of the input coverage features falling outside the erase polygon outside boundaries are copied to the output coverage.

Learn more about how Erase works


Erase illustration

Usage tips


Erase_arc (in_cover, erase_cover, out_cover, feature_type, fuzzy_tolerance)
Parameter Explanation Datatype
Input Coverage (Required)

The coverage containing features to be erased.

Erase Coverage (Required)

The coverage whose outer polygon defines the erasing region.

Output Coverage (Required)

The coverage to be created.

Feature Type (Optional)

The set of features to be erased:

  • POLY—Polygons are erased, and the PAT is updated. This is the default option.
  • LINE—Arcs are erased, and the AAT is updated.
  • POINT—Points are erased, and the PAT is updated.
  • NET—Polygons and arcs are erased, and their PAT and AAT are updated.
  • LINK—Arcs and points are erased, and their AAT and PAT are updated.
  • RAW—Arcs, data points, and annotation in a coverage that do not have topology (no attribute files) are erased. Route systems are maintained, but regions PAT and AAT are not saved.

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

Data types for geoprocessing tool parameters

Script Example

import arcgisscripting
gp = arcgisscripting.create()

gp.workspace = "c:/Workspace"
gp.toolbox = "arc"
gp.erase("vegetation", "road_buff200", "final_veg", "POLY", 2)

See Also

  • Clip (Coverage)
  • Identity (Analysis)
  • Identity (Coverage)
  • Intersect (Coverage)
  • Union (Coverage)