Polygon Coverage To Region (Coverage)

Summary

Converts polygons to regions in a one-to-one mapping in a region subclass.

Each polygon in the Input Coverage becomes a region in the Output Subclass. Attributes in the polygon attribute table (PAT) are copied to the corresponding region PATsubclass. The Output Coverage can be the same as the Input Coverage; if so, the Output Subclass is then created in the Input Coverage.

Learn more about how Polygon Coverage To Region works

Usage

Syntax

PolyRegion_arc (in_cover, out_cover, out_subclass)
ParameterExplanationData Type
in_cover

The polygon coverage to be converted to a region subclass. Each polygon of the <in_cover> is made into a region.

Coverage
out_cover

The coverage that will contain the new subclass.

Coverage
out_subclass

The name of the region subclass that will be created.

String

Code Sample

PolyRegion example (stand-alone script)

The following stand-alone script demonstrates how to create a region coverage from a polygon coverage.

# Name: PolyRegion_Example.py
# Description: Creates a region coverage from a polygon coverage
# Requirements: ArcInfo Workstation
# Author: ESRI

# Import system modules
import arcpy
from arcpy import env

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

# Set local variables
inCover = "citylim"
outCover = "C:/output/cityregions"
outSubclass = "city"

# Execute PolyRegion
arcpy.PolyRegion_arc(inCover, outCover, outSubclass)

Environments

Related Topics

Licensing Information

ArcView: No
ArcEditor: No
ArcInfo: Requires ArcInfo Workstation installed

Published 6/8/2010