--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
DTI2IIS is a utility to convert raster data in a Laser Scan Digital Terrain Image (DTI) file to International Imaging System's (IIS) system 500 format.
--------------------------------------------------------------------------------
$DTI2IIS infile-spec outfile-spec
Command qualifiers Defaults /BYTE /BYTE /HEADER /HEADER = 1 /SHORT not /SHORT LONG not /LONG
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Input-DTI-file-spec
- specifies the input DTI file. Any part of the file specification which is not supplied will be taken from the default specification: 'LSL$DTI:DTI.DTI'.
Output-IIS-file-spec
- specifies the output IIS file. Any part of the file specification which is not supplied will be taken from the default specification: 'LSL$DTI:IIS.IIS'.
--------------------------------------------------------------------------------
/BYTE
- Specifies that the data to be read and written is in BYTE format (the default).
/HEADER
- Specifies how many 512 byte header blocks (empty) to write to the IIS file before the actual data. The default number is one.
/LONG
- Specifies that the data to be read and written is in INTEGER*4 format.
/SHORT
- Specifies that the data to be read and written is in INTEGER*2 format.
DTI2IIS is a utility to convert raster data in a Laser Scan Digital Terrain Image (DTI) file to International Imaging System's (IIS) system 500 format. System 500 data files are composed of swaths, each 512 bytes in width. These swaths run from the top of the image to the bottom. The data order within the file is the top row of the first swath followed consecutively by the rest of the swath. This is then repeated for each swath in turn until the whole width of the image is covered. It should be remembered that the number of actual values per swath width will depend upon the data type in the file, (i.e. 512 BYTE values, 256 INTEGER*2 values and 128 INTEGER*4 values).
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
$ DTI2IIS COVERMAP COVERMAP /SHORT
In this example, a data value in the IIS file is held and converted as a short integer. A DTI file containing word data will be created. The informational messages provide continual reassurance of the extent of the conversion. It can be seen that the IIS file is written out one swath at a time. As the data in this example is INTEGER*2 the swath width is 256 values wide (512 bytes) and so two swaths are needed to cover the data area.
See dti2iismsg.html generated from DTI2IISMSG.RNO.