Generate (Coverage)

Summary

Generates a coverage from coordinates stored in a file.

Learn more about how Generate works

Usage

Syntax

Generate_arc (in_file, out_cover, feature_type)
ParameterExplanationData Type
in_file

The file containing feature coordinates that will be used to generate a coverage.

File
out_cover

The coverage to be generated.

Coverage
feature_type

The type of features to create:

  • ANNOTATIONSAdds annotations to the coverage.
  • CIRCLESGenerates circles, each with a specified center and radius.
  • CURVESGenerates curves using the specified grain value as the distance between vertices on each curve.
  • FISHNETCreates a fishnet of rectangular cells.
  • LINESAdds arcs to the coverage.
  • LINKSAdds links to the coverage.
  • POINTSAdds label points to the coverage.
  • POLYGONSAdds polygons and label points to the coverage.
  • TICSAdds tics to the coverage.
String

Code Sample

Generate example (stand-alone script)

The following stand-alone script demonstrates how to generate a coverage from a file of coordinates.

# Name: Generate_Example.py
# Description: Generates a coverage from a file of coordinates.
# Requirements: ArcInfo Workstation
# Author: ESRI

# Import system modules
import arcpy
from arcpy import env

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

# Set local variables
inFile = "wells.gen"
outCover = "C:/output/wells"
featureType = "POINTS"

# Execute Generate
arcpy.Generate_arc(inFile, outCover, featureType)

Environments

Related Topics

Licensing Information

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

Published 6/8/2010