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...

Export To DLG

Available with Advanced license.

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

Summary

Creates a Digital Line Graph from a coverage. The DLG is output in DLG-3 Optional (as opposed to Standard) format.

Learn more about how Export To DLG works.

Usage

  • Before creating a DLG file using Export To DLG, each node should be sequentially numbered using the Renumber Nodes tool. This will ensure that all arc, node, and polygon feature internal numbers are sequential.

  • There are two distribution formats for a DLG file: Standard and Optional. This tool writes a DLG in the Optional format only.

  • The DLG To Coverage tool reads and converts Standard or Optional DLG files into a coverage.

  • To create a DLG file that contains only point features, you should specify an input coverage that contains one rectangular polygon defining the area covered by the points. Use the name of the point coverage for the Point Coverage option.

  • Only one DLG category or layer can be saved in a DLG file created by Export To DLG. A DLG category is equivalent to a layer in a map.

  • The internal feature numbers (cover#) are written as the output DLG feature numbers.

  • Coverage topology is saved in the DLG file using conventions that are similar to the way topology is stored in a coverage (for example, polygons are defined in clockwise loops, islands as counterclockwise loops; each feature has a unique identification number;and negative numbers for lines indicate reverse directions).

Syntax

ArcDLG_arc (in_cover, out_dlg_file, {in_point_cover}, {in_projection_file}, {x_shift}, {y_shift}, {in_header_file}, {transform})
ParameterExplanationData Type
in_cover

The coverage to be converted to DLG format. It may contain polygon, line, and node features.

Coverage
out_dlg_file

The output DLG-3 Optional format file to be created.

File
in_point_cover
(Optional)

A coverage containing point features to be written as zero length, degenerate Line (L) records in the output DLG.

Coverage
in_projection_file
(Optional)

A text file containing input projection parameters to be saved in the DLG header.

File
x_shift
(Optional)

A constant value to be added to all coverage x-coordinates during the conversion to DLG. X Shift overrides any x-shift parameters found in either projection file or input cover projection definition file. If a value for X Shift is not specified, the default is zero.

Double
y_shift
(Optional)

A constant value to be added to all y-coordinates during conversion to DLG. Y Shift overrides any y-shift parameters found in either the projection file or input cover projection definition file. If a value for Y Shift is not specified, the default is zero.

Double
in_header_file
(Optional)

The file containing information to be written into the header of the DLG file.

File
transform
(Optional)

This operation controls whether a coordinate transformation is performed. Usually, coordinates are transformed to preserve accuracy when written to the DLG.

  • TRANSFORM —Transforms coordinates in the DLG file
  • NOTRANSFORM —Does not transform coordinates in the DLG file
Boolean

Code Sample

ArcDLG example (stand-alone script)

The following stand-alone script demonstrates how to export a polygon and a point coverage to DLG format.

# Name: ArcDLG_Example.py
# Description: Exports two coverages to DLG format
# Requirements: ArcInfo Workstation

# Import system modules
import arcpy
from arcpy import env

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

# Set local variables
inCover = "stand"
outDlgFile = "C:/output/stand.dlg"
inPointCover = "tong_basin4"
inProjectionFile = "stand.prj"
xShift = -500000
yShift = -6000000
inHeaderFile = "standheader.txt"

# Execute ArcDLG
arcpy.ArcDLG_arc (inCover, outDlgFile, inPointCover, inProjectionFile,
                  xShift, yShift, inHeaderFile, "")

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 From Coverage toolset
  • Project
  • Import From DLG
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