2-26-99 4:51a <DIR>
0 .
2-26-99 4:51a <DIR>
0 ..
12-11-97 11:34a 1881
0 1127CATD.DDF
12-11-97 11:34a 1965
0 1127CATS.DDF
12-11-97 11:34a 391674
0 1127CEL0.DDF
12-11-97 11:30a 347
0 1127DDDF.DDF
12-11-97 11:30a 691
0 1127DDOM.DDF
12-11-97 11:30a 287
0 1127DDSH.DDF
12-11-97 11:30a 320
0 1127DQAA.DDF
12-11-97 11:30a 2716
0 1127DQCG.DDF
12-11-97 11:30a 4381
0 1127DQHL.DDF
12-11-97 11:30a 1416
0 1127DQLC.DDF
12-11-97 11:30a 3907
0 1127DQPA.DDF
12-11-97 11:30a 620
0 1127IDEN.DDF
12-11-97 11:30a 354
0 1127IREF.DDF
12-11-97 11:30a 286
0 1127LDEF.DDF
12-11-97 11:30a 497
0 1127RSDF.DDF
12-11-97 11:30a 395
0 1127SPDM.DDF
12-11-97 11:34a 1594
0 1127STAT.DDF
12-11-97 11:30a 475
0 1127XREF.DDF
12-11-97 11:34a 2244
0 README.7.5min
12-11-97 11:34a 1621
0 UCOMMENT.txt
23 file(s)
417671 bytes used
Note that the actual raster data making up the DEM are in the file 1127CEL0.DDF. The other files contain various forms of other information about the DEM data. Below is shown an example of executing SDTS2DEM. Note that the -n option is used; this option instructs the code to insert a newline after evry 1024 characters in the output DEM. Note that the DEMREAD utility, which INNERTC needs as a pre-processor for DEM files, will handle DEM data either with or without the newlines. User entries are shown in blue.
[G:\terrain\sdts\testdata] ..\sdts2dem -n
******************************************************************
*
*
*
Spatial Data Transfer Standard (SDTS)
*
*
SDTS ==> DEM Utility
*
*
SDTS2DEM ver .013
*
*
Another GIS translation tool from
*
*
Sol Katz (skatz@blm.gov), Nov 1998.
*
*
*
* gcc+EMX
port by Allen Cogbill (acogbill@ibm.net), 3/98.
*
*
*
******************************************************************
Usage: sdts2dem [-n] [base_input_name] [base_output_file] [cell
id]
-n: put newlines at end of 1024-char line [default is NO newline].
input file: first 4 chars in base file
name (ABCDxxxx.ddf)
output file: output file without .DEM extension
cell id: characters
in position 7 and 8 of filename (usually, 'L0')
Enter first 4 charcters of the base SDTS file name: 1127
Enter base output file name (exclude any extension): GuajeMountain
Enter the 2 chars in position 7-8 of the CELL file name (usually
L0): L0
Summary of SDTS/DEM Data Files
Title = GUAJE MOUNTAIN, NM - 24000 LAT:: 35.875 LONG:: -106.25
SCALE:: 24000
Date = 19971211
Range: max= 3272, min= 1999, void= -32767, fill= -32766
Cell Width:
30.000000
Cell Height:
30.000000
Projection:
UTM
Zone:
13
Total rows = 467, Total columns= 382
Writing output DEM file...
100% done.
Final Output USGS DEM:
Min:
1999
Max:
3272
Missing Value: -9999
Missing Count: 0
Rows:
467
Cols:
382
Quad Boundary
SW 375872.53 3970757.25
NW 376067.84 3984622.25
NE 387335.00 3984470.50
SE 387157.44 3970605.50
Done.
[G:\terrain\sdts\testdata]..\sdts2dem -n 1127 GuajeMountain L0
******************************************************************
*
*
*
Spatial Data Transfer Standard (SDTS)
*
*
SDTS ==> DEM Utility
*
*
SDTS2DEM ver .013
*
*
Another GIS translation tool from
*
*
Sol Katz (skatz@blm.gov), Nov 1998.
*
*
*
* gcc+EMX
port by Allen Cogbill (acogbill@ibm.net), 3/98.
*
*
*
******************************************************************
Summary of SDTS/DEM Data Files
Title = GUAJE MOUNTAIN, NM - 24000 LAT:: 35.875 LONG:: -106.25
SCALE:: 24000
Date = 19971211
Range: max= 3272, min= 1999, void= -32767, fill= -32766
Cell Width:
30.000000
Cell Height:
30.000000
Projection:
UTM
Zone:
13
Total rows = 467, Total columns= 382
Writing output DEM file...
100% done.
Final Output USGS DEM:
Min:
1999
Max:
3272
Missing Value: -9999
Missing Count: 0
Rows:
467
Cols:
382
Quad Boundary
SW 375872.53 3970757.25
NW 376067.84 3984622.25
NE 387335.00 3984470.50
SE 387157.44 3970605.50
Done.