UTILITY DTI2DEM

--------------------------------------------------------------------------------

UTILITY DTI2DEM

--------------------------------------------------------------------------------

--------------------------------------------------------------------------------

FUNCTION

--------------------------------------------------------------------------------

FORMAT


--------------------------------------------------------------------------------

PROMPTS


--------------------------------------------------------------------------------

PARAMETERS

--------------------------------------------------------------------------------

COMMAND QUALIFIERS

--------------------------------------------------------------------------------

ADDITIONAL INPUTS

--------------------------------------------------------------------------------

DESCRIPTION

--------------------------------------------------------------------------------

RESTRICTIONS

--------------------------------------------------------------------------------

EXAMPLES

User input is represented in bolface

 $ DTI2DEM LSL$SOURCE_ROOT:[USBUR.DTI2DEM]ZYCOR ZYCOR  <CR>

%DTI2DEM-I-DTIHDRTYP, Input DTI file has header type MIKE File : LSL$SOURCE_ROOT:[USBUR.DTI2DEM]ZYCOR.DTI; Header : MIKE Data: WORD Units are metres Matrix Coverage SW: 0.00 0.00 NE: 10020.00 13890.00 Matrix Interval E: 30.00 N: 30.00 Value Range :-32767 to 2686 Define origin of the DTI (in UTM coordinates) (default: 0.0 0.0) Eastings Northings: 529890 4899510 Enter lat and long of SW corner of map (eg 39 07 30N 77 22 30W) Latitude Longitude: 44 15N 74 37 30W Enter header for DEM file (ZYCOR): Scanning DTI file ZYCOR for max and min values Outputting DEM file to SYS$DISK:ZYCOR.DEM ...record 50 ...record 100 ...record 150 ...record 200 ...record 250 ...record 300 ELAPSED: 0 00:02:39.62 CPU: 0:01:21.66 BUFIO: 68 DIRIO: 292 FAULTS: 694

This example reads a DTI file with a MIKE type header and writes the output DEM to a disk file in the current default directory. The contents of the DTI header record are displayed before the user is prompted to input the origin of the DTI and the SW corner of the DEM. The default of the DTI filename is used as the DEM header by responding to the "Enter header for DEM file" prompt with a carriage return.

 $ DTI2DEM VONORE VONORE <CR>

%DTI2DEM-I-DTIHDRTYP, Input DTI file has header type LSLA File : LSL$DTI:VONORE.DTI; Header : LSLA Data: WORD Units are metres Matrix Coverage SW: 749070.00 3931800.00 NE: 760770.00 3945990.00 Matrix Interval E: 30.00 N: 30.00 Value Range : 238 to 421 -DTI2DEM-I-PRJREC, Projection record found Spheroid : 0 (Clarke 1866) Projection : 1 (Universal Transverse Mercator) Zone : 16 Units : 2 (metres) Local origin : 749070.000 (Eastings) 3931800.000 (Northings) Sample values : 30.000 (Eastings) 30.000 (Northings) Define origin of the DTI (in UTM coordinates) (default: 749070.0 3931800.0) Eastings Northings: Enter lat and long of SW corner of map (eg 39 07 30N 77 22 30W) Latitude Longitude: 35 30N 84 15W Enter header for DEM file (VONORE): Scanning DTI file VONORE for max and min values Outputting DEM file to SYS$DISK:VONORE.DEM ...record 50 ...record 100 ...record 150 ...record 200 ...record 250 ...record 300 ...record 350 ELAPSED: 0 00:02:56.76 CPU: 0:01:32.71 BUFIO: 76 DIRIO: 472 FAULTS: 917

This example reads a DTI file with a LSLA type header and writes the output DEM to a disk file in the current default directory. The contents of the DTI header record and projection record are displayed before the user is prompted to input the origin of the DTI and the SW corner of the DEM. The origin of the DTI is taken from the DTI header by responding to the Eastings Northings prompt with a carriage return. The default of the DTI filename is used as the DEM header by responding to the "Enter header for DEM file" prompt with a carriage return.

 $ DTI2DEM/REWIND/BLOCK=8192 VONORE MUB1: <CR>

%DTI2DEM-I-DTIHDRTYP, Input DTI file has header type LSLA File : LSL$DTI:VONORE.DTI; Header : LSLA Data: WORD Units are metres Matrix Coverage SW: 749070.00 3931800.00 NE: 760770.00 3945990.00 Matrix Interval E: 30.00 N: 30.00 Value Range : 238 to 421 -DTI2DEM-I-PRJREC, Projection record found Spheroid : 0 (Clarke 1866) Projection : 1 (Universal Transverse Mercator) Zone : 16 Units : 2 (metres) Local origin : 749070.000 (Eastings) 3931800.000 (Northings) Sample values : 30.000 (Eastings) 30.000 (Northings) Define origin of the DTI (in UTM coordinates) (default: 749070.0 3931800.0) Eastings Northings: Enter lat and long of SW corner of map (eg 39 07 30N 77 22 30W) Latitude Longitude: 84 15W 35 30N Enter header for DEM file (VONORE):VONORE TENNESSEE TN- 84 15 W 35 30N (DTI2DEM 1-Nov-1989) Scanning DTI file VONORE for max and min values Outputting DEM file to _LSLM3A$MUB1: ...record 50 ...record 100 ...record 150 ...record 200 ...record 250 ...record 300 ...record 350 ELAPSED: 0 00:05:57.93 CPU: 0:01:36.08 BUFIO: 17 DIRIO: 409 FAULTS: 399

This has the same input file as the previous example but the output is directed to the tape on drive MUB1:. The DTI origin is taken from the DTI header. A descriptive DEM header is entered which describes the map and how it was produced.

See dti2demmsg.html generated from DTI2DEMMSG.RNO.