Feature Class To Coverage (Conversion)

Summary

Creates a single ArcInfo coverage from one or more input feature classes or layers.

Usage

Syntax

FeatureclassToCoverage_conversion (in_features, out_cover, {cluster_tolerance}, {precision})
ParameterExplanationData Type
in_features
[[Featureclass, {Type}],...]

The input feature classes or layers used to create a single ArcInfo coverage, including the type of features of which the coverage will be composed.

  • POINT
  • LABEL
  • NODE
  • ARC
  • ROUTE
  • POLYGON
  • REGION
  • ANNO
Value Table
out_cover

The output coverage to be created.

Coverage
cluster_tolerance
(Optional)

The minimum distance separating all feature coordinates (nodes and vertices) as well as the distance a coordinate can move in X or Y (or both). You can set the value to be higher for data that has less coordinate accuracy and lower for datasets with extremely high accuracy.

Linear unit
precision
(Optional)

The precision of the output ArcInfo coverage.

  • DOUBLE The out_cover will have double precison. This is the default.
  • SINGLEThe out_cover will have single precision.
Boolean

Code Sample

FeatureClassToCoverage Example (Python Window)

The following Python window script demonstrates how to use the FeatureclassToCoverage function in immediate mode.

import arcpy
from arcpy import env
env.workspace = "C:/data"
arcpy.FeatureclassToCoverage_conversion(
        [["Montgomery.gdb/Landbase/parcels", "REGION"]], 
        "C:/output/mont_parcel", "", "")

FeatureClassToCoverage Example (stand-alone script)

The following stand-alone script demonstrates how to convert several related feature classes to one coverage. After the conversion finishes, the CreateLabels tool is run to correct the polygon labels in the output coverage.

# Name: FeatureclassToCvoerage_Example.py
# Description: Converts several featureclasses to one coverage
# Requirements: ArcInfo Workstation

# Import system modules
import arcpy
from arcpy import env

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

# Set local variables
inFeatures = [["Montgomery.gdb/Landbase/blocks", "POLYGON"],
              ["Montgomery.gdb/Landbase/parcels", "REGION"],
              ["Montgomery.gdb/Landbase/Road_cl", "ROUTE"],
              ["Montgomery.gdb/Landbase/RoadNames", "ANNO"],
              ["Montgomery.gdb/Water/Transmains", "ARC"]]
outCover = "C:/output/Montgomery"
clusterTolerance = 0.000656
precision = "DOUBLE"

# Execute FeatureclassToCoverage and CreateLabels
arcpy.FeatureclassToCoverage_conversion(inFeatures, outCover, 
                                        clusterTolerance, precision)

arcpy.CreateLabels_arc(outCover, "")

Environments

Related Topics

Licensing Information

ArcView: No
ArcEditor: No
ArcInfo: Yes

11/14/2011