ArcGIS for Desktop

  • Documentation
  • Pricing
  • Support

  • My Profile
  • Help
  • Sign Out
ArcGIS for Desktop

ArcGIS Online

The mapping platform for your organization

ArcGIS for Desktop

A complete professional GIS

ArcGIS for Server

GIS in your enterprise

ArcGIS for Developers

Tools to build location-aware apps

ArcGIS Solutions

Free template maps and apps for your industry

ArcGIS Marketplace

Get apps and data for your organization

  • Documentation
  • Pricing
  • Support
Esri
  • Sign In
user
  • My Profile
  • Sign Out

Help

  • Home
  • Get Started
  • Map
  • Analyze
  • Manage Data
  • Tools
  • More...

Generate

  • Summary
  • Usage
  • Syntax
  • Code Sample
  • Environments
  • Licensing Information

Summary

Generates a coverage from coordinates stored in a file.

Learn more about how Generate works

Usage

  • This tool creates new coordinate features but does not create topology or attributes for these features. Other tools, such as Build or Clean, can be used to create feature topology.

  • The coordinate precision of the output coverage is determined by the precision setting. To convert a double-precision file to a double-precision coverage, the precision must be set to Double.

  • While processing duplicate tics with the same ID number, the last tic read with the same ID number is the one whose coordinates are stored in the coverage tic file.

  • When polygons are generated, each polygon will be closed automatically from the last vertex entered to the first vertex if the two vertices are not the same.

  • Coordinates in the input file can be in x,y,z format, but Generate ignores the z-values if they exist.

  • The geoprocessing tool takes in a text file that has a User-ID number for each line, followed by the series of xy coordinate pairs that define the line.

  • This tool is not interactive, as the GENERATE command in ArcInfo Workstation was.

  • Use the Ungenerate tool to create the file to be used as the input file.

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:

  • ANNOTATIONS —Adds annotations to the coverage.
  • CIRCLES —Generates circles, each with a specified center and radius.
  • CURVES —Generates curves using the specified grain value as the distance between vertices on each curve.
  • FISHNET —Creates a fishnet of rectangular cells.
  • LINES —Adds arcs to the coverage.
  • LINKS —Adds links to the coverage.
  • POINTS —Adds label points to the coverage.
  • POLYGONS —Adds polygons and label points to the coverage.
  • TICS —Adds 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

# 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

  • Current Workspace
  • Level Of Comparison Between Projection Files
  • Precision For Derived Coverages
  • Precision For New Coverages
  • Scratch Workspace

Licensing Information

  • ArcGIS for Desktop Basic: No
  • ArcGIS for Desktop Standard: No
  • ArcGIS for Desktop Advanced: Requires ArcInfo Workstation installed

Related Topics

  • An overview of the To Coverage toolset
  • Ungenerate
  • Build
  • Clean
  • Polygon Coverage To Region
Feedback on this topic?

ArcGIS for Desktop

  • Home
  • Documentation
  • Pricing
  • Support

ArcGIS Platform

  • ArcGIS Online
  • ArcGIS for Desktop
  • ArcGIS for Server
  • ArcGIS for Developers
  • ArcGIS Solutions
  • ArcGIS Marketplace

About Esri

  • About Us
  • Careers
  • Insiders Blog
  • User Conference
  • Developer Summit
Esri
© Copyright 2016 Environmental Systems Research Institute, Inc. | Privacy | Legal