Create Coverage (Coverage)

License Level:BasicStandardAdvanced

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

# 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

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