UTILITY NTF2DTI

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

UTILITY NTF2DTI

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

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

FUNCTION

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

FORMAT


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

PROMPTS


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

PARAMETERS

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

COMMAND QUALIFIERS

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

DESCRIPTION

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

RESTRICTIONS

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

EXAMPLES

 $ NTF2DTI /LOG MSA0: IOW <CR>

%NTF2DTI-I-NTFOPEN, NTF file MSA0: opened %NTF2DTI-I-NTFDATA, NTF data at level 4, version 1.00 %NTF2DTI-I-DTIOPEN, DTI file "LSL$DTI:IOW.DTI" opened File : LSL$DTI:IOW.DTI Header : LSLA Data: WORD Units are Metres Matrix Coverage SW: 440000.00 80000.00 NE: 460000.00 100000.00 Matrix Interval E: 50.00 N: 50.00 Value Range : 0 to 235 Spheroid : 9 (Airy) Projection : 101 (UK national grid) Units : 2 (Metres) Local Origin : 440000.000 (Eastings) 80000.000 (Northings) Sample values : 50.000 (Eastings) 50.000 (Northings) %NTF2DTI-I-DTICLOSED, DTI file closed ELAPSED: 0 00:05:53.24 CPU: 0:02:36.93 BUFIO: 4 DIRIO: 501 FAULTS: 990

In this example the input NTF dataset is to be read from the device MSA0:. The output DTI file was given as IOW, this will be parsed and called LSL$DTI:IOW.DTI. The /LOG qualifier means that the additional information is printed on the screen. It is assumed that an LSLA header is required with a projection record and that the NTF data was supplied by the Ordnance Survey. The conversion is completed successfully.

 $ NTF2DTI /LOG IOW_RELIEF  <CR>

%NTF2DTI-I-MISC, no output DTI file specified %NTF2DTI-I-MISC, filenames will be taken from SECHREC %NTF2DTI-I-NTFOPEN, NTF file IOW_RELIEF.NTF opened %NTF2DTI-I-NTFDATA, NTF data at level 4, version 1.00 %NTF2DTI-I-DTIOPEN, DTI file "LSL$DTI:TERRAIN.DTI" opened File : LSL$DTI:TERRAIN.DTI Header : LSLA Data: WORD Units are Metres Matrix Coverage SW: 440000.00 80000.00 NE: 460000.00 100000.00 Matrix Interval E: 50.00 N: 50.00 Value Range : 0 to 235 Spheroid : 9 (Airy) Projection : 101 (UK national grid) Units : 2 (Metres) Local Origin : 440000.000 (Eastings) 80000.000 (Northings) Sample values : 50.000 (Eastings) 50.000 (Northings) %NTF2DTI-I-DTICLOSED, DTI file closed ELAPSED: 0 00:05:53.24 CPU: 0:02:36.93 BUFIO: 4 DIRIO: 501 FAULTS: 990

In this example the input NTF dataset is to be read from the file IOW_ RELIEF.NTF.The /LOG qualifier means that the additional information is printed on the screen. It is assumed that an LSLA header is required with a projection record and that the NTF data was supplied by the Ordnance Survey.

Since no output DTI file was specified, appropriate messages inform the user that the output DTI filenames will be taken from the SECHREC records in the NTF dataset. The conversion is completed successfully.

$ NTF2DTI /PROJECTION /HEADER_TYPE=TED4 HERE:NTFFILE DTIFILE<CR>
%NTF2DTI-E-NOTLSLA, Projection records with LSLA header only
 ELAPSED:    0 00:00:01.73  CPU: 0:00:00.22  BUFIO: 0  DIRIO: 0  FAULTS: 96 

This is an incorrect command line. A TED4 style header was requested but the /PROJECTION qualifier was also given. As TED4 headers cannot have a projection record an error was flagged.

$ NTF2DTI/OUTPUT=DTILIST/LOG/HEADER=TED4 MTA0: DUA0:[IAIN]DTIMAP <CR>
%LSLLIB-I-LOGOPNOUT, log file DTILIST.LOG opened for write
%NTF2DTI-I-NTFOPEN, NTF file MTA0: opened
%NTF2DTI-I-NTFDATA, NTF data at level 4, version  1.00
%NTF2DTI-I-DTIOPEN, DTI file "DUA0:[IAIN]DTIMAP.DTI" opened
File    :  DUA0:[IAIN]DTIMAP.DTI
Header  :  TED4  Data:  WORD
Units are Metres
Matrix Coverage   SW:  440000.00   80000.00    NE:  460000.00  100000.00
Matrix Interval    E:      50.00                N:      50.00
Value Range         :     0   to    235
%NTF2DTI-I-DTICLOSED, DTI file closed
 ELAPSED:    0 00:07:53.20  CPU: 0:02:31.95  BUFIO: 9  DIRIO: 517  FAULTS: 1243 

$ TYPE DTILIST.LOG <CR>

This command line also specifies a TED4 style header but does not request a projection record so none is written. The LOG option is used once more and in addition the log file option /OUTPUT is used. The output file DTILIST.LOG is shown above. This run was completed successfully.

See ntf2dtimsg.html generated from NTF2DTIMSG.RNO.