Maptitude GISDK Help

GetDLGInfo()

Summary

Collects summary information about the contents of a USGS Digital Line Graph file.

 

Syntax

dlg_info = GetDLGInfo(string filename)

 

Argument Contents
filename The path and file name of the DLG file

 

Returns

An array of information as follows:

 

Element Type Contents
1 String Name of the DLG tile
2 String Data category
3 String Data format
4 Integer The denominator of the data scale (1:scale)
5 Array An array of three booleans: {points, lines, areas} indicating the types of features contained within the tile
6 Array An array of four booleans: {west, north, east, south}, indicating whether the tile was edge-matched by USGS

 

Example

// This call_

dlg_info = GetDLGInfo("c:\\anchorag.dlg")

 

// Returns this type of information...

// dlg_info = {

// "ANCHORAGE (C-7) SE, ALASKA",

// "Boundaries",

// "DLG-3 Optional",

// 25000,

// {"True", "True", "True"},

// {"False", "False", "False", "False"}

// }

 

Error Codes

Error Type Meaning
NotFound The specified file could not be found
Error The file is not a valid Digital Line Graph file

 

See Also

Function Summary
ImportDLG() Imports features from USGS Digital Line Graph files

 

 

©2025 Caliper Corporation www.caliper.com