Create Coverage (Coverage)

Summary

Creates a new coverage.

The coverage can be initialized with the TIC, BND, and PRJ files copied from an existing coverage or grid.

Usage

Syntax

Create_arc (out_cover, {template_cover})
ParameterExplanationData Type
out_cover

The name of the coverage that will be created.

Coverage
template_cover
(Optional)

An existing coverage or grid whose TIC file, boundary information (BND file), and projection information (PRJ file) will be copied to the Output Coverage.

Coverage

Code Sample

Create example (stand-alone script)

The following stand-alone script demonstrates how to create an empty coverage.

# Name: Create_Example.py
# Description: Creates an empty coverage.
# Requirements: ArcInfo Workstation
# Author: ESRI

# Import system modules
import arcpy
import os

# Set local variables
outCover = "c:/output/emptycov"

# The output workspace must exist at least as an empty directory.
#    Use os.makedirs if the parent directory may not exist.
try:
    os.makedirs(os.path.dirname(outCover))
except:
    pass

# Execute Create
arcpy.Create_arc(outCover)

Environments

Related Topics

Licensing Information

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

Published 6/8/2010