USGS Digital Elevation Model .DEM Export Automation Options

Since the Export Options dialog is not displayed when the program is driven from an automation script, an options string can be specified in the script. The string consists of comma-separated parameters, which specify the behavior of the various import options. A typical example would be:

" BlockType=1,RefOverride=1,RefSys=2,RefZone=12"

This would indicate that the DEM is a 7.5-minute block type and the reference system has been manually defined.

Option

Action

Default

BlockType

Data block type:.

0=15-minute block

1=7.5-minute block

2=Other block type.

0

RefOverride

0 = Use automatic reference system code and zone

1 = Override automatic system code and zone. Specify system code and zone values with RefSys and RefZone

0

RefSys

N = Set reference system code to an integer value between 0 and 20.

Use when RefOverride = 1.

RefZone

N = Reference Zone.

Use when RefOverride = 1 and RefSys = 1 or 2.

SectNum

Section indicator. For 15-min block it must be greater than or equal to 1 and less than or equal to 8.

For 7.5-min block it must be greater than or equal to 1 and less than or equal to 32.

1

XYUnitCode

X and Y coordinate units.

0=radians

1=feet

2=meters

3=arc-seconds

4=degrees

2

ZUnitCode

Z coordinate units

1=feet

2=meters

2

Remarks

The YXUnitCode and ZUnitCode refer to the source lattice limits and the Z value units, not those in the resulting export file. If the data are in units other than the source units, the program will not convert the data units.

See Also

Export Options String

USGS Digital Elevation Model .DEM File Description