Copyright (C) 1989 Laser-Scan Ltd
Science Park, Milton Road, Cambridge, England CB4 4FY tel: (0223) 420414
Document "DTICONTOUR Reference" Category "REFERENCE"
Document Issue 2.1 Jon Barber 06-July-1989
2.0 Tim Hartnall 07-March-1989
1.1 Tim Hartnall 30-November-1988
1.0 Tim Hartnall 23-March-1988
--------------------------------------------------------------------------------
MODULE DTICONTOUR
--------------------------------------------------------------------------------
REPLACES PANACEA module TIMPANI
--------------------------------------------------------------------------------
DTICONTOUR is a bilinear contouring utility, using data contained in DTI (Digital Terrain Image) files. Contour smoothing may be optionally applied using a least squares filter.
Facilities to define (x,y) and z data windows are provided to enable the user to select sub-sections of the DTI data for contouring.
Output is to IFF file. An option to generate contour labelling is provided. The user may specify the intermediate and index contour interval and the feature coding attributes of the IFF file.
$ DTICONTOUR
None, DTICONTOUR is command driven.
For processing speed, DTICONTOUR uses a whole matrix contour lacing algorithm, using linear interpolation to derive the contours from adjacent DTI posts.
DTICONTOUR first maps the input DTI file into virtual memory. It can then treat the file as an array of Z values. Using the user specified x,y (and optionally z) windows, contour interval value, and the minimum and maximum Z values in the file header, the height of the first contour to be constructed can be calculated. Contouring can now begin.
The basic method consists firstly of systematically scanning the boundary edges of the DTI in an anticlockwise manner for the start of the contour. DTICONTOUR then follows the contour throughout the data window and finds the points at which the contour crosses a DTI row or column and the row and column diagonals, until it hits the boundary again. This is repeated for each of the 'open' contours at this height. The interior of the DTI array is then scanned to see if there are any 'closed' contours of this height and these are followed as for the 'open' ones.
When following a contour the convention 'high ground on the right' is adopted.
The output for each contour consists of a set of points where the contour crosses the DTI rows, columns and diagonals together with an indication as to whether a contour is 'open' or 'closed'. These points are then output directly to the IFF output file or they may be buffered for labelling and/or subjected to the smoothing algorithm to give the contours continuous derivatives.
Perhaps the most difficult problem in lacing contours through a DTM using this basic method is to ensure that all contours of a given height are found. This is made considerably easier by only using inverse linear interpolation to find a value of Z, so that there can be at most only one contour of a given height passing between a pair of adjacent points.
Because linear interpolation is used in DTICONTOUR, areas of equal Z value may lead to the formation of contours resembling a "staircase", where the contour makes right angled turns. There is insufficient information for the simple algorithm to lace the contours relative to a more global context.
It is important to note that although cartographically unappealing, the contours produced by DTICONTOUR are "truth". Because linear interpolation is used, the contours represent what is really there in the DTI file, not the expression of a high order surface patch. The linear interpolation used is not only fast, but provides a powerful quality check on the DTI file contents. If the "staircase" effect is undesirable, then the optional smoothing technique may be applied.
Contouring will stop at any regions of null data as defined by the data type specific DTI NULL parameter values, and will resume on the other side, if necessary.
----------------------------------------------------------------------
DTICONTOUR provides the user with optional contour labelling; the numbers so generated being stored in the IFF file as independent features. It is therefore important to deselect labelling if the IFF file is going to be used for anything other than plot purposes. Heights are stored in the output IFF file type 3 ACs which may be accessed by Laser-Scan LAMPS utilities (eg clipping, merging and plotting routines)
If selected, the contour labelling generated by DTICONTOUR obeys the following cartographic conventions:
In order to ensure that contour labelling is appropriate to the nature of the contours the user is allowed to specify:
The algorithm used works as follows:
The curved label is also straightforward as the shape of the contour (ie the length and angles of its segments) can be calculated from what is stored in the contour buffer, which was not flushed. DTICONTOUR remembers that the left hand corner of the characters will be offset from the contour line, which should run through the character y-axis centreline.
DTICONTOUR clears the contour buffer, then makes the saved last coordinate become the first coordinate in the empty buffer. Go back to step 4.
Default settings are assumed for all labelling options and parameters unless otherwise specified. The default status for all parameters may be examined at any time using the SHOW LABELLING command.
----------------------------------------------------------------------
DTICONTOUR allows the user to contour a DTM which has heights in a different measurement system to that desired for the contours.
Four height modification options are provided for maximum processing flexibility:
--------------------------------------------------------------------------------
DTICONTOUR can accept for input LSLA, UHL1, TED4 and the obsolete MIKE and ALVY type DTI (Digital Terrain Image) files. The elevation data within these files may be held as byte, word, real*4 and longword values. Bit valued DTI files are not supported by DTICONTOUR.
DTICONTOUR is designed to enable the user to contour DTI files which contain null DTM post values (i_.e_. post values which have been assigned a height value of -32767 in DTI files of the word, longword and real data types, or which have any of the DTILIB NULL parameter values for word, long or real datatypes). This is achieved by ignoring all posts which have the null height value.
DTICONTOUR reads and interprets the header information from the input DTI file. DTI files of type TED4 and UHL1 and type LSLA (with projection record) contain an (X,Y) origin offset value for the SW corner (row 1, column 1) of the file in the file header information. This origin offset value is used to derive the position of each post within the DTI file in absolute coordinate space. If the user wishes to generate an IFF file of contours whose coordinates are relative to the local origin (0.0, 0.0) of the SW corner (row 1, column 1) of the file, the DISABLE ABSOLUTE command should be issued.
The UNITS command should be given after defining the DTI file containing the input DTM, since appropriate default units of measurement are set up whenever an input DTI file is opened.
The following rules are applied when returning a default UNITS value:
For the rules applied when testing the validity of a UNITS argument supplied by the user see the UNITS command below.
It is possible to change the header values in a DTI file by use of the MATRIX package DTIPATCH utility, although care should be exercised to ensure that changes are made that are compatible with other stages of the production flowline. The DTI transformation utility DTITRANS may be used to change the coordinate basis of a DTI file before contouring it. DTITRANS allows, for example, transformation of a DTI file with post spacing in latitude and longitude, to grid, and vice versa.
--------------------------------------------------------------------------------
The characteristics of the IFF file produced by DTICONTOUR is best described by reference to a listing of an example file. The numbers in bold type enclosed in round brackets are referred to below.
(1)
RA 0.0 1000.0 0.0 1000.0
(2)
HI
8-OCT-1987 15:30 TIM DTICONTOUR Create 00:03:48 00:00:00 00000001
(3)
MH 174 0
(4)
MD 2
(5)
NS Created by DTICONTOUR. Number of smoothing passes = 0
(6)
CC .00000000E 000 .00000000E 000
.10000000E 001 .00000000E 000
.00000000E 000 .10000000E 001
.00000000E 000 .00000000E 000
.00000000E 000 .00000000E 000
.00000000E 000 .00000000E 000
.00000000E 000 .00000000E 000
.00000000E 000 .00000000E 000
.00000000E 000 .00000000E 000
.00000000E 000 .00000000E 000
(7)
CP 0.0 1000.0 0.0 1000.0
0.0 0.0 0.0 0.0
1000.0 0.0 1000.0 0.0
1000.0 1000.0 1000.0 1000.0
(8)
NO 1 0
(9)
NF 1 1
(10)
FS 0 0 0 0
(11)
TH 0
ST 3 0
145.8 23.67
248.9 26.7
252.4 28.3
EF
(12)
Other features
.
.
.
.
.
EO
EM
EJ
The effect of DTICONTOUR on individual IFF entries is as follows: (Item numbers refer to the bold labelling on the above example).
------------------------------------------------------------------------------
On program startup, the following command defaults apply:
IFF scale, layer number and feature codes:
--------------------------------------------------------------------------------
_@
Take command input from the specified file.
--------------------------------------------------------------------------------
FORMAT: _@file-spec<CR>
--------------------------------------------------------------------------------
Command parameters:
file-spec
The file to be opened and used for command input.
Any parts of the file-spec not supplied for the @ command will be taken from the default specification 'SYS$DISK:[].COM;0'.
--------------------------------------------------------------------------------
DESCRIPTION:
DTICONTOUR offers the facility of command input from an indirect command file. The '@' character preceding a file-spec will cause DTICONTOUR to open and read commands from the specified file until:
Nested command files are not supported (i_.e_. a command file containing an '@' command), although sequential '@' commands are supported when read from SYS$COMMAND.
As an aid to batch log interpretation DTICONTOUR will echo all commands read from an indirect command file.
--------------------------------------------------------------------------------
Messages:
The following messages are specific to the _@ command:
*** WARNING *** "@" must precede a file-spec
*** WARNING *** Indirect file error - returning to terminal input
*** ERROR *** Can't open indirect command file 'file-spec'
--------------------------------------------------------------------------------
Examples:
$ DTICONTOUR<CR>
TVES module DTICONTOUR of 13:30:39 18-OCT-87
DTICONTOUR> @PRESETS<CR>
DTICONTOUR> ENABLE DIAGNOSTICS
DTICONTOUR> INTERVAL 10
DTICONTOUR> INDEX_INTERVAL 100
DTICONTOUR> ENABLE SPOT_HEIGHTS
DTICONTOUR> SET CONTOUR_FC 102
DTICONTOUR> SET INDEX_FC 103
DTICONTOUR> SET SPOT_FC 104
DTICONTOUR> SET LAYER 3
DTICONTOUR> RETURN
DTICONTOUR>
--------------------------------------------------------------------------------
_!
Treat all text to the right of the '!' as a comment.
--------------------------------------------------------------------------------
FORMAT: _! [comment text]
--------------------------------------------------------------------------------
Command parameters:
comment text
text that is to be treated as a comment and which will be excluded from command interpretation.
--------------------------------------------------------------------------------
DESCRIPTION:
An exclamation mark is the standard DTM package comment delimiter. All text (and numbers) which lie to the right of a '!' character are excluded from command interpretation. Comments are useful for annotating command procedures used in batch processing etc_.
--------------------------------------------------------------------------------
Messages: None.
--------------------------------------------------------------------------------
Examples:
DTICONTOUR> _! a comment for the sake of it<CR>
DTICONTOUR> WINDOW 0.0 0.0 900.0 900.0<CR>
DTICONTOUR> ZLIMITS 0.0 1290.0 ! limits are in metres<CR>
DTICONTOUR> IFF TEST3<CR>
DTICONTOUR> @PRESETS ! use indirect command file for presets<CR>
DTICONTOUR> INTERVAL 10
DTICONTOUR> INDEX_INTERVAL 100
DTICONTOUR> ENABLE SPOT_HEIGHTS
DTICONTOUR> SET CONTOUR_FC 102
DTICONTOUR> SET INDEX_FC 103
DTICONTOUR> SET SPOT_FC 104
DTICONTOUR> SET LAYER 3
DTICONTOUR> RETURN
DTICONTOUR> FILEIN JOE! get the DTI file<CR>
DTICONTOUR> ! do the contouring<CR>
DTICONTOUR> GO<CR>
ELAPSED: 00:05:25.84 CPU: 0:00:05.71 BUFIO: 281 DIRIO: 46 FAULTS: 263
_$
--------------------------------------------------------------------------------
DISABLE ABSOLUTE
Cancels a previous ENABLE ABSOLUTE command.
--------------------------------------------------------------------------------
FORMAT: DISABLE ABSOLUTE
--------------------------------------------------------------------------------
Command parameters: None.
--------------------------------------------------------------------------------
DESCRIPTION:
DISABLE ABSOLUTE cancels a previous ENABLE ABSOLUTE command. If DISABLE
ABSOLUTE is given, then coordinate values required by the WINDOW command,
supplied in metre or projection units, must be specified as an offset from the
SW corner of the matrix.
By default window values should be specified as absolute coordinates.
--------------------------------------------------------------------------------
Messages: None.
--------------------------------------------------------------------------------
Examples:
DTICONTOUR> DISABLE ABSOLUTE<CR>
DTICONTOUR>
--------------------------------------------------------------------------------
DISABLE DIAGNOSTICS
Cancels a previous ENABLE DIAGNOSTICS command.
--------------------------------------------------------------------------------
FORMAT: DISABLE DIAGNOSTICS
--------------------------------------------------------------------------------
Command parameters: None.
--------------------------------------------------------------------------------
DESCRIPTION:
Disable a previous ENABLE DIAGNOSTICS command.
--------------------------------------------------------------------------------
Messages: None.
--------------------------------------------------------------------------------
Examples:
DTICONTOUR> ENABLE DIAGNOSTICS<CR>
DTICONTOUR> SHOW ENABLE<CR>
ABSOLUTE ..................................................... On DIAGNOSTICS .................................................. On DIVIDEBY ..................................................... Off FRAME ........................................................ Off INDEX ........................................................ On INTEGER_HEIGHT ............................................... Off (Contour heights will be placed in type 3 AC entries) LABELLING .................................................... Off MULTIPLY .................................................... Off PME .......................................................... Off SMOOTHING .................................................... Off SPOT_HEIGHTS ................................................. Off (Single point contours to be omitted from output) TOFEET ....................................................... Off TOMETRES ..................................................... Off
--------------------------------------------------------------------------------
DISABLE DIVIDEBY
Disables a previous ENABLE DIVIDEBY command.
--------------------------------------------------------------------------------
FORMAT: DISABLE DIVIDEBY
--------------------------------------------------------------------------------
Command parameters: None.
--------------------------------------------------------------------------------
DESCRIPTION:
DISABLE DIVIDEBY allows the user to disable a previous ENABLE DIVIDEBY command.
--------------------------------------------------------------------------------
Messages: None.
--------------------------------------------------------------------------------
Examples:
DTICONTOUR> SHOW ENABLE<CR>
ABSOLUTE ..................................................... On DIAGNOSTICS .................................................. Off DIVIDEBY ..................................................... Off FRAME ........................................................ Off INDEX ........................................................ On INTEGER_HEIGHT ............................................... Off (Contour heights will be placed in type 3 AC entries) LABELLING .................................................... Off MULTIPLY .................................................... Off PME .......................................................... Off SMOOTHING .................................................... Off SPOT_HEIGHTS ................................................. Off (Single point contours to be omitted from output) TOFEET ....................................................... Off TOMETRES ..................................................... Off
--------------------------------------------------------------------------------
DISABLE FRAME
Disables a previous ENABLE FRAME command.
--------------------------------------------------------------------------------
FORMAT: DISABLE FRAME
--------------------------------------------------------------------------------
Command parameters: None.
--------------------------------------------------------------------------------
DESCRIPTION:
DISABLE FRAME cancels the effect of a previous ENABLE FRAME command.
--------------------------------------------------------------------------------
Messages: None.
--------------------------------------------------------------------------------
Examples:
DTICONTOUR> DISABLE FRAME<CR>
DTICONTOUR>
--------------------------------------------------------------------------------
DISABLE INDEX
Disable the generation of index contours.
--------------------------------------------------------------------------------
FORMAT: DISABLE INDEX
--------------------------------------------------------------------------------
Command parameters: None.
--------------------------------------------------------------------------------
DESCRIPTION:
DISABLE INDEX enables the user to suppress the generation of index contours. A similar effect may be achieved by specifying an INDEX_INTERVAL of zero.
--------------------------------------------------------------------------------
Messages: None.
--------------------------------------------------------------------------------
Examples:
DTICONTOUR> DISABLE INDEX<CR>
DTICONTOUR>
--------------------------------------------------------------------------------
DISABLE LABELLING
Disable the generation of contour and spot height label features.
--------------------------------------------------------------------------------
FORMAT: DISABLE LABELLING
--------------------------------------------------------------------------------
Command parameters: None.
--------------------------------------------------------------------------------
DESCRIPTION:
DISABLE LABELLING cancels the effect of a previous ENABLE LABELLING command.
--------------------------------------------------------------------------------
Messages: None.
--------------------------------------------------------------------------------
Examples:
DTICONTOUR> DISABLE LABELLING<CR>
DTICONTOUR>
--------------------------------------------------------------------------------
DISABLE MULTIPLYBY
Disables a previous ENABLE MULTIPLYBY command.
--------------------------------------------------------------------------------
FORMAT: DISABLE MULTIPLYBY
--------------------------------------------------------------------------------
Command parameters: None.
--------------------------------------------------------------------------------
DESCRIPTION:
DISABLE MULTIPLYBY allows the user to disable a previous ENABLE MULTIPLYBY command.
--------------------------------------------------------------------------------
Messages: None.
--------------------------------------------------------------------------------
Examples:
DTICONTOUR> DISABLE MULTIPLYBY<CR>
DTICONTOUR>
--------------------------------------------------------------------------------
DISABLE PME
DISABLE PME disables the PME performance monitor.
--------------------------------------------------------------------------------
FORMAT: DISABLE PME
--------------------------------------------------------------------------------
Command parameters: None.
--------------------------------------------------------------------------------
DESCRIPTION:
PME is a code optimisation tool and should be invoked by LSL software personnel only.
The DISABLE PME command causes the PME_EXIT routine to be invoked.
--------------------------------------------------------------------------------
Message:
The following warning message is specific to the DISABLE PME command:
*** WARNING *** You are not using PME!
--------------------------------------------------------------------------------
Examples:
--------------------------------------------------------------------------------
DISABLE SMOOTH
Cancels the effect of a previous ENABLE SMOOTH command.
--------------------------------------------------------------------------------
FORMAT: DISABLE SMOOTH
--------------------------------------------------------------------------------
Command parameters: None.
--------------------------------------------------------------------------------
DESCRIPTION:
DISABLE SMOOTH disables the effect of a previous ENABLE SMOOTH command.
--------------------------------------------------------------------------------
Message: None.
--------------------------------------------------------------------------------
Examples:
DTICONTOUR> ENABLE SMOOTH 3<CR>
DTICONTOUR> SHOW ENABLE<CR>
ABSOLUTE ..................................................... On DIAGNOSTICS .................................................. Off DIVIDEBY ..................................................... Off FRAME ........................................................ Off INDEX ........................................................ On INTEGER_HEIGHT ............................................... Off (Contour heights will be placed in type 3 AC entries) LABELLING .................................................... Off MULTIPLY .................................................... Off PME .......................................................... Off SMOOTHING .................................................... On Number of smoothing iterations................................ 3 SPOT_HEIGHTS ................................................. Off (Single point contours to be omitted from output) TOFEET ....................................................... Off TOMETRES ..................................................... Off
--------------------------------------------------------------------------------
DISABLE SPOT_HEIGHTS
Cancels the effect of a previous ENABLE SPOT_HEIGHTS command.
--------------------------------------------------------------------------------
FORMAT: DISABLE SPOT_HEIGHTS
--------------------------------------------------------------------------------
Command parameters: None.
--------------------------------------------------------------------------------
DESCRIPTION:
DISABLE SPOT_HEIGHTS disables the effect of a previous ENABLE SPOT_HEIGHTS command.
--------------------------------------------------------------------------------
Message: None.
--------------------------------------------------------------------------------
Examples:
DTICONTOUR> DISABLE SPOT_HEIGHTS<CR>
DTICONTOUR>
--------------------------------------------------------------------------------
DISABLE TOFEET
Cancels the effect of a previous ENABLE TOFEET command.
--------------------------------------------------------------------------------
FORMAT: DISABLE TOFEET
--------------------------------------------------------------------------------
Command parameters: None.
--------------------------------------------------------------------------------
DESCRIPTION:
It is possible that the input DTI file may have heights recorded in different measurement systems to that required in the output IFF contour file. Two preset height conversion options are available: ENABLE TOMETRES and ENABLE TOFEET.
The ENABLE TOFEET command enables the conversion of heights held in the DTI file in metres to feet. It has the same effect as an explicit ENABLE MULTIPLYBY 3.2808455 command. The contours will then be produced in feet.
If one of the height modification options is selected using ENABLE MULTIPLYBY, ENABLE TOFEET etc_., you must give the contour interval and any ZLIMITS in the target measurement system or height range (ie feet for the ENABLE TOFEET command). Failure to do this will result in unexpected densities of contours!
N.B. DISABLE TOFEET will not cancel an explicit ENABLE MULTIPLYBY 3.2808455 command.
--------------------------------------------------------------------------------
Messages: None.
--------------------------------------------------------------------------------
Examples:
DTICONTOUR> DISABLE TOFEET<CR>
DTICONTOUR>
--------------------------------------------------------------------------------
DISABLE TOMETRES
Cancels the effect of a previous ENABLE TOMETRES command.
--------------------------------------------------------------------------------
FORMAT: DISABLE TOMETRES
--------------------------------------------------------------------------------
Command parameters: None.
--------------------------------------------------------------------------------
DESCRIPTION:
It is possible that the input DTI file may have heights recorded in different measurement systems to that required in the IFF output file. The model must be relative to one system only. Two height conversion options are available: ENABLE TOFEET and ENABLE TOMETRES.
The ENABLE TOMETRES command results in the conversion of heights held in the DTI file in feet to metres. It has the same effect as an explicit ENABLE DIVIDEBY 3.2808455 command. The IFF file contours will then be produced in metres.
If one of the height modification options is selected using ENABLE MULTIPLYBY, ENABLE TOMETRES etc_., you must give the contour interval and any ZLIMITS in the target measurement system or height range (ie metres for the ENABLE TOMETRES command). Failure to do this may result in an unexpected contour density!
N.B. DISABLE TOMETRES will not cancel an explicit ENABLE DIVIDEBY 3.2808455 command.
--------------------------------------------------------------------------------
Messages: None.
--------------------------------------------------------------------------------
Examples:
DTICONTOUR> DISABLE TOMETRES<CR>
DTICONTOUR>
--------------------------------------------------------------------------------
ENABLE ABSOLUTE
Selects the use of absolute coordinate values.
--------------------------------------------------------------------------------
FORMAT: ENABLE ABSOLUTE
--------------------------------------------------------------------------------
Command parameters: None.
--------------------------------------------------------------------------------
DESCRIPTION:
If ENABLE ABSOLUTE is given, then coordinate values required by the WINDOW command, supplied in metre or projection units, must be specified as absolute (rather than relative) coordinate values.
For example if the projection indicates U.K. National Grid, then the
WINDOW values may be specified as 6 figure National Grid coordinates.
By default window values should be specified as absolute coordinates.
This option can be disabled using the DISABLE ABSOLUTE command.
--------------------------------------------------------------------------------
Messages: None.
--------------------------------------------------------------------------------
Examples:
DTICONTOUR> ENABLE ABSOLUTE<CR>
DTICONTOUR>
--------------------------------------------------------------------------------
ENABLE DIAGNOSTICS
Enable diagnostic printout.
--------------------------------------------------------------------------------
FORMAT: ENABLE DIAGNOSTICS
--------------------------------------------------------------------------------
Command parameters: None.
--------------------------------------------------------------------------------
DESCRIPTION:
ENABLE DIAGNOSTICS allows the user to enable diagnostic printout.
Because it is usually used in a batch processing environment, by default DTICONTOUR produces minimal diagnostic printout. If however, the user wishes to receive indications of processing progress and of the effect of windowing on data input, diagnostic printout may be selected with the ENABLE DIAGNOSTICS command.
On a heavily loaded computer it may be reassuring to ENABLE DIAGNOSTICS for the contouring stage of DTICONTOUR processing to indicate progress through the data set. A messages indicating contouring progress is issued as contours of each new contour height are generated.
--------------------------------------------------------------------------------
Messages: None.
--------------------------------------------------------------------------------
Examples:
--------------------------------------------------------------------------------
ENABLE DIVIDEBY
Enable division of input file heights by a specified floating point constant.
--------------------------------------------------------------------------------
FORMAT: ENABLE DIVIDEBY denominator
--------------------------------------------------------------------------------
Command parameters:
denominator
The value by which all input file heights are to be divided.
--------------------------------------------------------------------------------
DESCRIPTION:
The ENABLE DIVIDEBY enables the user to divide all incoming DTI heights by a specified (floating point) constant. For example, the command ENABLE DIVIDEBY 2.0 will cause all incoming heights to be divided by 2.0. An ENABLE DIVIDEBY 3.2808455 command has the same effect as an ENABLE TOMETRES command.
--------------------------------------------------------------------------------
Messages:
The following messages are specific to the ENABLE DIVIDEBY command:
*** WARNING *** You are already planning to multiply by 'constant'
ENABLE DIVIDEBY command now overrides ENABLE MULTIPLYBY command
*** WARNING *** You must specify a value for DIVIDEBY
--------------------------------------------------------------------------------
Examples:
DTICONTOUR> ENABLE DIVIDEBY 10.0<CR>
DTICONTOUR> SHOW ENABLE<CR>
ABSOLUTE ..................................................... On DIAGNOSTICS .................................................. Off DIVIDEBY ..................................................... On Matrix heights to be divided by .............................. 10.0 FRAME ........................................................ Off INDEX ........................................................ On INTEGER_HEIGHT ............................................... Off (Contour heights will be placed in type 3 AC entries) LABELLING .................................................... Off MULTIPLY .................................................... Off PME .......................................................... Off SMOOTHING .................................................... Off SPOT_HEIGHTS ................................................. Off (Single point contours to be omitted from output) TOFEET ....................................................... Off TOMETRES ..................................................... Off
--------------------------------------------------------------------------------
ENABLE FRAME
Causes DTICONTOUR to output a frame feature to the IFF file.
--------------------------------------------------------------------------------
FORMAT: ENABLE FRAME
--------------------------------------------------------------------------------
Command parameters: None.
--------------------------------------------------------------------------------
DESCRIPTION:
Causes DTICONTOUR to output a frame feature to the IFF file which represents the extent of the contour window defined by the WINDOW command.
If no WINDOW command is issued, the frame represents the boundary of the whole area covered by the DTI file.
The frame feature is given the feature code specified with the SET FRAME_FC command. In the absence of a SET FRAME_FC command, feature code 0 is used.
By default, DTICONTOUR does not create a frame feature.
--------------------------------------------------------------------------------
Messages: None.
--------------------------------------------------------------------------------
Examples:
DTICONTOUR> ENABLE FRAME<CR>
DTICONTOUR>
--------------------------------------------------------------------------------
ENABLE INDEX
Enable the generation of index contours (default).
--------------------------------------------------------------------------------
FORMAT: ENABLE INDEX
--------------------------------------------------------------------------------
Command parameters: None.
--------------------------------------------------------------------------------
DESCRIPTION:
ENABLE INDEX enables the user to cancel the effect of a previous DISABLE INDEX command. By default DTICONTOUR will always generate index contours.
--------------------------------------------------------------------------------
Messages: None.
--------------------------------------------------------------------------------
Examples:
DTICONTOUR> ENABLE INDEX<CR>
DTICONTOUR>
--------------------------------------------------------------------------------
ENABLE LABELLING
Enable the generation of contour and spot height label features.
--------------------------------------------------------------------------------
FORMAT: ENABLE LABELLING
--------------------------------------------------------------------------------
Command parameters:
None
--------------------------------------------------------------------------------
DESCRIPTION:
ENABLE LABELLING enable the user to instruct DTICONTOUR to generate label features for contours, index contours, and if ENABLE SPOT_HEIGHTS is specified, spot heights.
--------------------------------------------------------------------------------
Messages: None.
--------------------------------------------------------------------------------
Examples:
DTICONTOUR> ENABLE LABELLING<CR>
DTICONTOUR>
--------------------------------------------------------------------------------
ENABLE MULTIPLYBY
Enable multiplication of input file heights by a specified floating point constant.
--------------------------------------------------------------------------------
FORMAT: ENABLE MULTIPLYBY constant
--------------------------------------------------------------------------------
Command parameters:
constant
The value by which all input file heights are to be multiplied.
--------------------------------------------------------------------------------
DESCRIPTION:
The ENABLE MULTIPLYBY enables the user to multiply all incoming DTI heights by a specified (floating point) constant. For example, the command ENABLE MULTIPLYBY 2.0 will cause all incoming heights to be multiplied by 2.0. An ENABLE MULTIPLYBY 3.2808455 command has the same effect as an ENABLE TOFEET command.
--------------------------------------------------------------------------------
Messages:
The following messages are specific to the ENABLE MULTIPLYBY command:
--------------------------------------------------------------------------------
Examples:
DTICONTOUR> ENABLE MULTIPLYBY 10.0<CR>
DTICONTOUR> SHOW ENABLE<CR>
ABSOLUTE ..................................................... On DIAGNOSTICS .................................................. Off DIVIDEBY ..................................................... Off FRAME ........................................................ Off INDEX ........................................................ On INTEGER_HEIGHT ............................................... Off (Contour heights will be placed in type 3 AC entries) LABELLING .................................................... Off MULTIPLY ..................................................... On Matrix heights to be multiplied by ........................... 10.0 PME .......................................................... Off SMOOTHING .................................................... Off SPOT_HEIGHTS ................................................. Off (Single point contours to be omitted from output) TOFEET ....................................................... Off TOMETRES ..................................................... Off
--------------------------------------------------------------------------------
ENABLE PME
ENABLE PME enables the PME performance monitor.
--------------------------------------------------------------------------------
FORMAT: ENABLE PME
--------------------------------------------------------------------------------
Command parameters: None.
--------------------------------------------------------------------------------
DESCRIPTION:
The ENABLE PME and DISABLE PME commands are reserved for Laser-Scan use. PME is a code optimisation tool and should be invoked by LSL software personnel only.
ENABLE PME causes the PME_INIT routine to be invoked.
--------------------------------------------------------------------------------
Message:
The following warning message is specific to the ENABLE PME command:
*** WARNING *** You are already using PME!
--------------------------------------------------------------------------------
Examples:
--------------------------------------------------------------------------------
ENABLE SMOOTH
Enables the use of smoothing filters within DTICONTOUR.
--------------------------------------------------------------------------------
FORMAT: ENABLE SMOOTH iterations
--------------------------------------------------------------------------------
Command parameter:
iterations
The number of smoothing iterations required.
--------------------------------------------------------------------------------
DESCRIPTION:
ENABLE SMOOTH causes DTICONTOUR to apply a moving least squares filter to the contour strings generated during the matrix lacing process. The number of times that the filter is applied is controlled by the 'iterations' argument.
By default DTICONTOUR does not smooth the contour strings
Because linear interpolation is used in DTICONTOUR, areas of equal Z value may lead to the formation of contours resembling a "staircase", where the contour makes right angled turns. There is insufficient information for the simple algorithm to lace the contours relative to a more global context.
It is important to note that although cartographically unappealing, the contours produced by DTICONTOUR are "truth". Because linear interpolation is used, the contours represent what is really there in the DTI file, not the expression of a high order surface patch. The linear interpolation used is not only fast, but provides a powerful quality check on the DTI file contents.
--------------------------------------------------------------------------------
Message: None.
--------------------------------------------------------------------------------
Examples:
DTICONTOUR> ENABLE SMOOTH 3<CR>
DTICONTOUR> SHOW ENABLE<CR>
ABSOLUTE ..................................................... On DIAGNOSTICS .................................................. Off DIVIDEBY ..................................................... Off FRAME ........................................................ Off INDEX ........................................................ On INTEGER_HEIGHT ............................................... Off (Contour heights will be placed in type 3 AC entries) LABELLING .................................................... Off MULTIPLY .................................................... Off PME .......................................................... Off SMOOTHING .................................................... On Number of smoothing iterations................................ 3 SPOT_HEIGHTS ................................................. Off (Single point contours to be omitted from output) TOFEET ....................................................... Off TOMETRES ..................................................... Off
--------------------------------------------------------------------------------
ENABLE SPOT_HEIGHTS
Causes DTICONTOUR to output any single point spot height features to the IFF file.
--------------------------------------------------------------------------------
FORMAT: ENABLE SPOT_HEIGHTS
--------------------------------------------------------------------------------
Command parameters: None.
--------------------------------------------------------------------------------
DESCRIPTION:
It is possible that single DTI post values lying in peaks and troughs of the DTI surface, are at exactly the same height as a contour. This would result in the generation of a single point contour. As such features are conventionally represented by spot heights, the ENABLE SPOT_HEIGHTS option is provided to output any single point contours as spot height features to the IFF file.
By default, DTICONTOUR does not create spot height features; the single point features are discarded.
The spot height features are given the feature code specified with the SET SPOT_FC command. In the absence of a SET SPOT_FC command, feature code 1 is used.
Spot height features are always given labels if the ENABLE LABELLING option is selected. The feature code of the spot height label features is specified with the SET SPOT_LABEL_FC command argument. In the absence of a SET SPOT_LABEL_FC command, feature code 0 is used.
--------------------------------------------------------------------------------
Messages: None.
--------------------------------------------------------------------------------
Examples:
DTICONTOUR> SET SPOT_FC 23<CR>
DTICONTOUR> SET SPOT_LABEL_FC 3<CR>
DTICONTOUR> ENABLE SPOT_HEIGHTS<CR>
DTICONTOUR>
--------------------------------------------------------------------------------
ENABLE TOFEET
The ENABLE TOFEET command enables the conversion of input file heights from metres to feet.
--------------------------------------------------------------------------------
FORMAT: ENABLE TOFEET
--------------------------------------------------------------------------------
Command parameters: None.
--------------------------------------------------------------------------------
DESCRIPTION:
It is possible that the DTI input files may have heights recorded in a different measurement system to that required in the IFF output file. Two height conversion options are available: ENABLE TOMETRES and ENABLE TOFEET.
The ENABLE TOFEET command enables the conversion of input DTI file heights from feet to metres. It has the same effect as an explicit ENABLE MULTIPLYBY 3.2808455 command. The IFF file will then be produced in feet.
If one of the height modification options is selected using ENABLE MULTIPLYBY, ENABLE TOFEET etc_., you must give the contour interval and any ZLIMITS in the target measurement system or height range (ie feet for the ENABLE TOFEET command). Failure to do this may result in an unexpected density of contours!
--------------------------------------------------------------------------------
Messages: None.
--------------------------------------------------------------------------------
Examples:
DTICONTOUR> ENABLE TOFEET<CR>
DTICONTOUR>
--------------------------------------------------------------------------------
ENABLE TOMETRES
The ENABLE TOMETRES command enables the conversion of input DTI file heights from feet to metres.
--------------------------------------------------------------------------------
FORMAT: ENABLE TOMETRES
--------------------------------------------------------------------------------
Command parameters: None.
--------------------------------------------------------------------------------
DESCRIPTION:
It is possible that the input DTI file may have heights recorded in different measurement systems to that required in the IFF output file. Two height conversion options are available: ENABLE TOFEET and ENABLE TOMETRES.
The ENABLE TOMETRES command results in the conversion of heights held in the DTI file in feet to metres. It has the same effect as an explicit ENABLE DIVIDEBY 3.2808455 command. The IFF contours will then be produced in metres.
If one of the height modification options is selected using ENABLE MULTIPLYBY, ENABLE TOMETRES etc_., you must give the contour interval and any ZLIMITS in the target measurement system or height range (ie metres for the ENABLE TOMETRES command). Failure to do this may result in an unexpected density of contours!
--------------------------------------------------------------------------------
Messages: None.
--------------------------------------------------------------------------------
Examples:
DTICONTOUR> ENABLE TOMETRES<CR>
DTICONTOUR>
--------------------------------------------------------------------------------
FILEIN
Specifies a DTI file that is to be opened and used for data input.
--------------------------------------------------------------------------------
FORMAT: FILEIN file-spec
--------------------------------------------------------------------------------
COMMAND PARAMETERS:
file-spec
The specification of the DTI file to be opened for data input.
Any parts of the file-spec not supplied for the FILEIN command will be taken from the default file specification 'LSL$DTI:DTI.DTI;0'.
--------------------------------------------------------------------------------
DESCRIPTION:
The FILEIN command opens and maps into memory a DTI file, containing the matrix data to be processed. Details derived from the header of the file are displayed on the terminal to confirm that the file has been successfully opened.
A FILEIN command must be issued before
the UNITS, WINDOW, ZLIMITS or GO commands will be accepted.
If the logical name LSL$MATRIX_DEFAULT_WINDOW is defined with a value of
"1", then a default area of interest defined in matrix units of bottom left
hand corner 1,1 and top right hand corner 200,200 is set when the file is
opened. If the logical name is absent or has any other value, or if the input
DTI file has fewer than 200 columns or 200 rows, then a default window
equivalent to the total matrix is set. The area of interest may be redefined
using the command WINDOW.
--------------------------------------------------------------------------------
Messages:
The following messages are specific to the FILEIN command:
*** WARNING *** You must specify a file-spec argument to the FILEIN command
*** ERROR *** Unable to interpret input file-spec
--------------------------------------------------------------------------------
Examples:
DTICONTOUR> FILEIN 52N09E_DTED_UTM<CR> DTI file LSL$DTI:52N09E_DTED_UTM.DTI;0 opened for read File : LSL$DTI:52N09E_DTED_UTM.DTI;0 Header : LSLA Data: WORD Units are metres Matrix Coverage SW: 500083.88 5761241.50 NE: 568683.88 5872941.50 Matrix Window SW: 500083.88 5761241.50 NE: 568683.88 5872941.50 Matrix Interval E: 100.00 N: 100.00 Value Range : 4 to 434
--------------------------------------------------------------------------------
GO
Perform the contouring using default or user supplied values for contour interval, labelling etc.
--------------------------------------------------------------------------------
FORMAT: GO
--------------------------------------------------------------------------------
Command parameters: None.
--------------------------------------------------------------------------------
DESCRIPTION:
The GO command can only be issued after FILEIN and IFF commands have been used.
The number of contours produced is controlled by the arguments supplied to the INTERVAL and INDEX_INTERVAL commands.
The type of contours produced is determined by using the ENABLE SMOOTH command. The default is to produce simple linear contours, which tend to wander in a "staircase" like manner in areas of low relief. If ENABLE SMOOTH is selected smoothed contours will result with the "staircases" suppressed.
On a heavily loaded computer it may be reassuring to ENABLE DIAGNOSTICS for the contouring stage of DTICONTOUR processing to indicate progress through the data set. A message indicating contouring progress is then issued as contours of each new contour height are generated.
--------------------------------------------------------------------------------
Messages: None.
--------------------------------------------------------------------------------
Examples:
DTICONTOUR> ENABLE DIAGNOSTICS<CR>
DTICONTOUR> GO<CR>
===================== STARTING CONTOUR GENERATION =====================
Units are metres
Matrix Coverage SW: 500083.88 5761241.50 NE: 568683.88 5872941.50
Contouring window SW: 500083.88 5761241.50 NE: 568683.88 5872941.50
All heights between 4.000 and 434.000 will be contoured
+------------------------+
| Tracing index contours |
+------------------------+
Tracing index contours with a height of 250.000
+-------------------------------+
| Tracing intermediate contours |
+-------------------------------+
Tracing intermediate contours with a height of 50.000
Tracing intermediate contours with a height of 100.000
Tracing intermediate contours with a height of 150.000
Tracing intermediate contours with a height of 200.000
Tracing intermediate contours with a height of 300.000
Tracing intermediate contours with a height of 350.000
Tracing intermediate contours with a height of 400.000
--------------------------------------------------------------------------------
HELP
Give help on a subject
--------------------------------------------------------------------------------
FORMAT: HELP subject
--------------------------------------------------------------------------------
Command parameters:
subject
The subject on which help is required.
--------------------------------------------------------------------------------
Description:
The HELP command looks the rest of the line up in the TVES HELP library. This library contains a brief summary of the operation of each command.
The information is looked up in the DTICONTOUR section of the TVES help library, LSL$HELP:TVES.HLB.
--------------------------------------------------------------------------------
Messages:
Where required, warning messages are output via the VMS LBR$OUTPUT_HELP utility.
--------------------------------------------------------------------------------
Examples:
DTICONTOUR> HELP ENABLE TOMETRES<CR>
DTICONTOUR
ENABLE
TOMETRES
It is possible that the input DTI file may have heights recorded in different a measurement systems to that required in the IFF output file. Two height conversion options are available: ENABLE TOFEET and ENABLE TOMETRES.
The ENABLE TOMETRES command results in the conversion of heights held in the DTI file in feet to metres. It has the same effect as an explicit ENABLE DIVIDEBY 3.2808455 command. The IFF file contours will then be produced in metres.
If one of the height modification options is selected using ENABLE MULTIPLYBY, ENABLE TOMETRES etc_., you must give the contour interval and any ZLIMITS in the target measurement system (i_.e_. metres for the ENABLE TOMETRES command). Failure to do this may result in an unexpected contour density!
DTICONTOUR>
--------------------------------------------------------------------------------
IFF
Specifies the file-spec of the IFF file which is to receive the contours.
--------------------------------------------------------------------------------
FORMAT: IFF file-spec
--------------------------------------------------------------------------------
COMMAND PARAMETERS:
file-spec
The file-spec of the IFF file which is to receive the contours.
Any parts of the file-spec not supplied for the IFF command will be taken from the default 'LSL$IF:IFF.IFF;0'.
--------------------------------------------------------------------------------
DESCRIPTION:
The IFF command enables specification of the IFF file which is to receive the contours.
The IFF command must be issued before the GO command.
--------------------------------------------------------------------------------
Messages:
The following messages are specific to the IFF command:
--------------------------------------------------------------------------------
Examples:
DTICONTOUR> IFF DUA3:[DEMONSTRATION]IDAHO<CR>
%LSLLIB-I-IFFOPENED, DUA3:[DEMONSTRATION]IDAHO_.IFF;6 opened for write
DTICONTOUR>
--------------------------------------------------------------------------------
INTERVAL
Specifies the height interval between successive contours.
--------------------------------------------------------------------------------
FORMAT: INTERVAL interval
--------------------------------------------------------------------------------
Command parameters:
interval
The height interval between successive contours (floating point or integer).
--------------------------------------------------------------------------------
DESCRIPTION:
The INTERVAL argument specifies the height interval between successive contours.
Failure to set the contour interval will result in the application of a default interval of 10% of the height range within the area of the DTI file defined by the WINDOW command. If no WINDOW command is issued then 10% of the height range of the whole DTI file will be used. If ZLIMITS are specified, with or without the WINDOW command, then the default contour interval is 10% of the height range defined by the ZLIMITS arguments.
If you intend to use the TOMETRES, TOFEET, MULTIPLYBY, or DIVIDEBY options, ensure that you specify the contour interval relative to the TARGET measurement system. Failure to do this will result in far more (or less!) contours than you had bargained for!
--------------------------------------------------------------------------------
Messages:
*** ERROR *** Missing interval argument
Only one value please !
Taking first value only ('real')
--------------------------------------------------------------------------------
Examples:
DTICONTOUR> INTERVAL 10.0<CR>
DTICONTOUR>
--------------------------------------------------------------------------------
INDEX_INTERVAL
Specifies the height interval between successive index contours.
--------------------------------------------------------------------------------
FORMAT: INDEX_INTERVAL interval
--------------------------------------------------------------------------------
Command parameters:
interval
The height interval between successive index contours (floating point or integer).
--------------------------------------------------------------------------------
DESCRIPTION:
The INDEX_INTERVAL argument specifies the height interval between successive index contours. Index contours are given a different feature code (specified by the SET INDEX_FC command) in the IFF output file to enable them to be differentiated from other (or "intermediate") contours.
Failure to specify the index contour interval will result in the application of a default index interval of five times the ordinary contour interval.
If you intend to use the TOMETRES, TOFEET, MULTIPLYBY, or DIVIDEBY options, ensure that you specify the index contour interval relative to the TARGET measurement system. Failure to do this will result in far more (or less!) contours than you had bargained for!
--------------------------------------------------------------------------------
Messages:
*** ERROR *** Missing interval argument
Only one value please !
Taking first value only ('real')
--------------------------------------------------------------------------------
Examples:
DTICONTOUR> INTERVAL 10.0<CR>
DTICONTOUR> INDEX_INTERVAL 200.0<CR>
DTICONTOUR>
--------------------------------------------------------------------------------
LABEL FLOAT
Specifies that contour labels are to be displayed as floating point numbers.
--------------------------------------------------------------------------------
FORMAT: LABEL FLOAT
--------------------------------------------------------------------------------
Command parameters: None.
--------------------------------------------------------------------------------
DESCRIPTION:
LABEL FLOAT enables the user to specify that contour labels are to be displayed as floating point numbers. DTICONTOUR generates labels to 5 significant figures.
A very long floating point number will often fail the contour curve test (specified using LABEL MAXCURVE). If only zeros follow the decimal point, DTICONTOUR will display the label as an integer to increase the likelihood of the label site being acceptable.
Spot height labels are always displayed as floating point values.
By default DTICONTOUR will generate floating point labels. Integer labels are generated only if the LABEL INTEGER command is issued.
--------------------------------------------------------------------------------
Messages: None.
--------------------------------------------------------------------------------
Examples:
DTICONTOUR> LABEL FLOAT<CR>
DTICONTOUR>
--------------------------------------------------------------------------------
LABEL INTEGER
Specifies that contour labels are to be displayed as integer numbers.
--------------------------------------------------------------------------------
FORMAT: LABEL INTEGER
--------------------------------------------------------------------------------
Command parameters: None.
--------------------------------------------------------------------------------
DESCRIPTION:
LABEL INTEGER enables the user to specify that contour labels are to be displayed as integer numbers.
Spot height labels are always displayed as floating point values.
By default DTICONTOUR will generate floating point labels. Integer labels are generated only if the LABEL INTEGER command is issued.
--------------------------------------------------------------------------------
Messages: None.
--------------------------------------------------------------------------------
Examples:
DTICONTOUR> LABEL INTEGER<CR>
DTICONTOUR>
--------------------------------------------------------------------------------
LABEL INDEX_MODULUS
Specifies the height modulus for index contour labelling.
--------------------------------------------------------------------------------
FORMAT: LABEL INDEX_MODULUS height
--------------------------------------------------------------------------------
Command parameter:
height
A real height value. Index contours with heights that are exactly divisible by this value will be considered for labelling.
--------------------------------------------------------------------------------
DESCRIPTION:
The LABEL INDEX_MODULUS command enables the user to specify a real (floating point) height to determine which index contours are to be considered for annotation. Only index contours which are exactly divisible by this value will be considered for labelling.
For example, if the user specifies that LABEL INDEX_MODULUS 100.0 is to be used in conjunction with an index contour interval of 50.0, every other index contour will be labelled.
By default an index height modulus of 1.0 is used, i.e. all index contours are considered for labelling.
A LABEL INDEX_MODULUS argument of zero will suppress labelling of index contours.
--------------------------------------------------------------------------------
Messages:
*** ERROR *** Missing modulus argument
Only one value please !
Taking first value only ('real')
--------------------------------------------------------------------------------
Examples:
DTICONTOUR> INTERVAL 10.0
DTICONTOUR> INDEX_INTERVAL 40.0
DTICONTOUR> LABEL INDEX_MODULUS 80.0<CR>
DTICONTOUR>
--------------------------------------------------------------------------------
LABEL MAXCURVE
Specifies the maximum curve on a contour which will be considered as a suitable site for label insertion.
--------------------------------------------------------------------------------
FORMAT: LABEL MAXCURVE curve
--------------------------------------------------------------------------------
Command parameter:
curve
A real value in the range 0.0 to 1.0 which determines the maximum rate of change of curvature along along a line before that section of line is considered to be unsuitable for labelling.
--------------------------------------------------------------------------------
DESCRIPTION:
LABEL MAXCURVE enables the user to alter the default parameter which defines the maximum rate of change of curvature along along a line before that section of line is considered to be unsuitable for labelling.
The acceptable range of values for LABEL MAXCURVE is 0.0 to 1.0. As LABEL MAXCURVE approaches 0.0, less and less labelling will be output because the tolerance of curve sharpness is decreased. A LABEL MAXCURVE value of 1.0 will result in labelling being output regardless of curve sharpness. The default value is 0.7
--------------------------------------------------------------------------------
Messages:
*** ERROR *** Missing maximum curvature argument
Only one value please !
Taking first value only ('real')
--------------------------------------------------------------------------------
Examples:
DTICONTOUR> LABEL MAXCURVE 0.3<CR>
DTICONTOUR>
--------------------------------------------------------------------------------
LABEL MINGAP
Specifies the minimum distance travelled along a contour before DTICONTOUR will begin looking for a suitable site for label insertion.
--------------------------------------------------------------------------------
FORMAT: LABEL MINGAP distance
--------------------------------------------------------------------------------
Command parameter:
distance
A real value, expressed in IFF output file units, which defines the minimum distance travelled along a contour before DTICONTOUR will begin looking for a suitable site for label insertion.
--------------------------------------------------------------------------------
DESCRIPTION:
The LABEL MINGAP argument specifies the minimum distance travelled along a contour before DTICONTOUR will begin looking for a suitable site for label insertion. By default DTMCREATE uses 10% of the maximum (x,y) axis of the window defined by the WINDOW command. If no WINDOW command is issued, then 10% of the maximum (x,y) axis of the whole DTI file is used.
The relationship between the LABEL MINGAP argument value and the frequency of labels occurring along a contour line can be subtle. If the LABEL MINGAP argument is too big, DTICONTOUR may be unable to label any contours because the contours are shorter then the LABEL MINGAP distance. Less obvious, however, is the interaction between a dense contour pattern and a large LABEL MINGAP distance. Because the inter-contour gap is smaller in a dense contour map there will be fewer sites suitable for the insertion of labels anyway. If, in addition a large LABEL MINGAP value is specified, many of the possible label sites will be rendered unsuitable. The net result is a contour map with few or no labels. As a general rule of thumb, the LABEL MINGAP value should be lowered for DTI files defining dense contour areas.
If there is wide variation in contour density between sub-areas of the DTI file, the contours should be generated using several DTICONTOUR runs, each with a different window and a LABEL MINGAP value appropriate to the contour density. The windows should not overlap. When all the windows are complete, the IFF contour files can be edge butted together using the IMP (IFF Map Processing) package utility IMERGE.
As linear interpolation is used for contour generation, edge matching should be perfect. Some edge matching imperfections may be introduced, however, by the ENABLE SMOOTH option in areas of little or no relief variation.
--------------------------------------------------------------------------------
Messages:
*** ERROR *** Missing label minimum gap argument
Only one value please !
Taking first value only ('real')
--------------------------------------------------------------------------------
Examples:
DTICONTOUR> LABEL MINGAP 130.0<CR>
--------------------------------------------------------------------------------
LABEL MODULUS
Specifies the height modulus for index contour labelling.
--------------------------------------------------------------------------------
FORMAT: LABEL MODULUS height
--------------------------------------------------------------------------------
Command parameter:
height
A real height value. Intermediate contour heights that are exactly divisible by this value will be considered for labelling.
--------------------------------------------------------------------------------
DESCRIPTION:
The LABEL MODULUS command enables the user to specify a real (floating point) height to determine which intermediate (i.e. non-index) contours are to be considered for labelling. Only intermediate contours which are exactly divisible by this value will be considered for labelling.
For example, if the user specifies that LABEL MODULUS 10.0 is to be used in conjunction with a contour interval of 5.0, every other contour will be labelled.
By default a height modulus of 1.0 is used, i.e. all intermediate contours are considered for labelling.
A LABEL MODULUS argument of zero will suppress labelling of intermediate contours.
--------------------------------------------------------------------------------
Messages:
*** ERROR *** Missing modulus argument
Only one value please !
Taking first value only ('real')
--------------------------------------------------------------------------------
Examples:
DTICONTOUR> INTERVAL 10.0<CR>
DTICONTOUR> INDEX_INTERVAL 40.0<CR>
DTICONTOUR> LABEL MODULUS 10.0<CR> ! label all contours
--------------------------------------------------------------------------------
LABEL SIZE
Specifies the size of the contour labels.
--------------------------------------------------------------------------------
FORMAT: LABEL SIZE size
--------------------------------------------------------------------------------
Command parameter:
size
The size of the contour labels in IFF output file units.
--------------------------------------------------------------------------------
DESCRIPTION:
The LABEL SIZE argument enables the user to alter the default size for contour labels. This default is calculated as 0.5% of the DTI maximum (x,y) range. The value displayed by the SHOW LABELLING command is the height of the label characters in IFF output file units. New label sizes should always be expressed in terms of output IFF file units, bearing in mind of course the contour density and legibility requirements.
The LABEL SIZE argument actually specifies the height of the label characters, the character width is calculated to be 0.7 of the character height.
It is most important that the user appreciates the relationship between the contour label size and the frequency of labels occurring along a contour line. If the label size is too big, DTICONTOUR will be able to fit the label into the gap between adjacent contours less often than in the case when the label size is small. Clearly, a dense contour map will offer less opportunities for labelling than a contour map having few contours, and even fewer opportunities if the label size is big.
--------------------------------------------------------------------------------
Messages:
*** ERROR *** Missing label size argument
Only one value please !
Taking first value only ('real')
--------------------------------------------------------------------------------
Examples:
DTICONTOUR> LABEL SIZE 3.0<CR>
DTICONTOUR>
--------------------------------------------------------------------------------
PAUSE
Pauses DTICONTOUR execution.
--------------------------------------------------------------------------------
FORMAT: PAUSE
--------------------------------------------------------------------------------
Command parameters: None.
--------------------------------------------------------------------------------
DESCRIPTION:
Pauses DTICONTOUR execution and issues a prompt for a carriage return to continue execution. This command is designed for use in software demonstration situations.
--------------------------------------------------------------------------------
Messages: None.
--------------------------------------------------------------------------------
Examples:
DTICONTOUR> PAUSE<CR>
--------------------------------------------------------------------------------
Quit from DTICONTOUR.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
The QUIT command causes DTICONTOUR to exit immediately, closing all input
files and closing and deleting the output IFF file.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
DTICONTOUR> QUIT<CR>
--------------------------------------------------------------------------------
Restores command input from an indirect file to SYS$COMMAND.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Restores command input from an indirect file to SYS$COMMAND.
A typical application is to allow the user to use an indirect command file
to set up those run time defaults which are constant within a flowline and then
return to input from the terminal (or batch stream) for the run specific
commands. To do this RETURN must be the last command in the indirect command
file.
--------------------------------------------------------------------------------
The following messages are specific to the RETURN command:
RETURN command detected - returning to terminal input
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Set IFF feature code of ordinary contours to the specified value.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
feature-code
The feature code to be used for ordinary contours. This must lie in
the range 0 to 32767.
--------------------------------------------------------------------------------
SET CONTOUR_FC enables the user to specify the feature code to be
used for ordinary contours. By default, a feature code of 0 is assumed for
ordinary (or "intermediate") contours and index contours.
When choosing a feature code for contours, ensure that the feature code
is in the FRT file which is to be used for plotting the contours and
that the feature code has an appropriate graphical type.
--------------------------------------------------------------------------------
*** WARNING *** Feature codes must lie in the range 0 to 32767.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Set IFF feature code for the optional plot frame feature.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
feature-code
The feature code to be used for the frame. This must lie in
the range 0 to 32767.
--------------------------------------------------------------------------------
SET FRAME_FC enables the user to specify the feature code to be
used for the optional plot frame. By default, a feature code of 0 is assumed for
the frame.
When choosing a feature code for the frame, ensure that the feature code
is in the FRT file which is to be used for plotting the data and that
the feature code has an appropriate graphical type.
--------------------------------------------------------------------------------
*** WARNING *** Feature codes must lie in the range 0 to 32767.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Set IFF feature code of index contours to the specified value.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
feature-code
The feature code to be used for index contours. This must lie in
the range 0 to 32767.
--------------------------------------------------------------------------------
SET INDEX_FC enables the user to specify the feature code to be
used for index contours. By default, a feature code of 0 is assumed for both
ordinary (or "intermediate") contours and index contours.
When choosing a feature code for index contours, ensure that the feature
code is in the FRT file which is to be used for plotting the contours and that
the feature code has an appropriate graphical type.
--------------------------------------------------------------------------------
*** WARNING *** Feature codes must lie in the range 0 to 32767.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Set IFF feature code of label features on index contours to the specified
value.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
feature-code
The feature code to be used for label features on index contours. This
must lie in the range 0 to 32767.
--------------------------------------------------------------------------------
SET INDEX_LABEL_FC enables the user to specify the feature code to be
used for index contour label features. By default, a
feature code of 0 is assumed for label features on index contours.
When choosing a feature code for index contour label features, ensure
that the feature code is in the FRT file which is to be used for plotting the
contours and that the feature code has an appropriate graphical type.
--------------------------------------------------------------------------------
*** WARNING *** Feature codes must lie in the range 0 to 32767.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Set IFF feature code of label features to the specified value.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
feature-code
The feature code to be used for label features. This must lie in
the range 0 to 32767.
--------------------------------------------------------------------------------
SET LABEL_FC enables the user to specify the feature code to be
used for ordinary (or "intermediate") contour label features. By default, a
feature code of 0 is assumed for label features on ordinary contours.
When choosing a feature code for label features, ensure that the feature
code is in the FRT file which is to be used for plotting the contours and that
the feature code has an appropriate graphical type.
--------------------------------------------------------------------------------
*** WARNING *** Feature codes must lie in the range 0 to 32767.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Set IFF output file layer number to the specified value.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
layer-number
The number of the layer to contain the contour features. This must lie in
the range 0 to 32767.
--------------------------------------------------------------------------------
SET LAYER enables the user to specify the number of the layer which
is to contain the contour features. By default, layer 1 is created.
--------------------------------------------------------------------------------
*** WARNING *** Layer numbers must lie in the range 0 to 32767.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Sets the scale in the output IFF file MD (Map Descriptor) entry.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
scale
The scale to be set in the output IFF file MD (Map Descriptor) entry. By
default a scale value of 50000, for 1:50000 is used.
--------------------------------------------------------------------------------
The scale field in the MD is by default set to 50000, as this information
is unavailable in the DTI file header. The user may override this default
scale by use of the SET SCALE command. The argument to the SET SCALE command
should be specified as an integer value to represent the denominator of the
scale fraction, thus a desired scale of 1:250000 must be specified as 250000.
--------------------------------------------------------------------------------
*** WARNING *** Illegal SCALE value 'number'
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Set IFF feature code of spot height features to the specified value.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
feature-code
The feature code to be used for ordinary contours. This must lie in
the range 0 to 32767.
--------------------------------------------------------------------------------
SET SPOT_FC enables the user to specify the feature code to be
used for spot heights. By default, a feature code of 1 is assumed for
spot height features.
When choosing a feature code for spot heights, ensure that the feature
code is in the FRT file which is to be used for plotting the spot heights and
that the feature code has an appropriate graphical type, i_.e_. unorientated
symbol.
--------------------------------------------------------------------------------
*** WARNING *** Feature codes must lie in the range 0 to 32767.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Set IFF feature code of label features for spot heights to the specified
value.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
feature-code
The feature code to be used for spot height label features. This must lie in
the range 0 to 32767.
--------------------------------------------------------------------------------
SET SPOT_LABEL_FC enables the user to specify the feature code to be
used for label features relating to spot heights. By default, a
feature code of 0 is assumed for label features on spot heights.
When choosing a feature code for label features, ensure that the feature
code is in the FRT file which is to be used for plotting the contours and that
the feature code has an appropriate graphical type.
--------------------------------------------------------------------------------
*** WARNING *** Feature codes must lie in the range 0 to 32767.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Shows current status of DTICONTOUR defaults.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
subject
The subject that is to be displayed, chosen from:
--------------------------------------------------------------------------------
SHOW enables the user to examine the current status of the DTICONTOUR
defaults, e.g. SHOW FILES will give the current
status of the contouring window parameters and input and output files; SHOW
SETTINGS will show the current status of the settings made for the IFF file
with SET commands, etc.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
The SPAWN command enables you to create a subprocess while within
DTICONTOUR.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
command-line
Specifies a DCL command string to be executed as if typed in response to
a '$' prompt. When the command completes, the subprocess terminates and control
is returned to DTICONTOUR. The command string cannot exceed 80 characters.
--------------------------------------------------------------------------------
The SPAWN command enables you to create a subprocess while within DTICONTOUR.
When the subprocess terminates control is returned to DTICONTOUR.
--------------------------------------------------------------------------------
The following warning messages are specific to the SPAWN command:
*** WARNING *** SPAWN requires a valid DCL command line
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Specifies the units of measurement that will be used when defining an area
of interest in the input DTM using the WINDOW command.
The command also controls the units of measurement which will be used
when displaying file header details and the output coordinate system of the
output IFF file.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
units
A keyword defining the measurement units, chosen from:
--------------------------------------------------------------------------------
The UNITS command enables the user to specify in what units of measurement
he wishes to define an area of interest in the input DTI file using the WINDOW
command, or in what units of measurement details from the header of the DTI
file are displayed using the SHOW FILES command.
The command may also be used to define the units of measurement in the
output IFF file. If matrix units are currently selected, the coordinates in
the IFF file are recorded as real (floating point) column and row values; if
metres or projection units are selected before giving the GO command, the IFF
data is recorded as metre or projection unit coordinate values.
The following rules are applied when testing the validity of a UNITS
command argument supplied by the user:
--------------------------------------------------------------------------------
The following error messages are specific to the UNITS command:
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Suspend processing for the specified number of seconds.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
seconds
The number (floating point) of seconds for which DTICONTOUR processing is
to be suspended.
--------------------------------------------------------------------------------
The WAIT command causes processing to be suspended for a specified
number of seconds. It is designed for use in software demonstration
situations and is of no value in a production flowline.
--------------------------------------------------------------------------------
The following warning message is specific to the WAIT command:
*** WARNING *** You must specify the number of seconds to wait
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Specifies the limits of the data area to be contoured.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
xmin ymin
xmax ymax
The format of the command parameters is controlled by the UNITS command.
Note that in all cases, the input values are adjusted to the nearest
column and row values.
--------------------------------------------------------------------------------
The command is used to define rectangular limits to the area of
data to be included within the contouring. The limits must be specified
in the order bottom left hand (or south west) corner then top right hand
(or north east) corner.
The WINDOW command is used to limit the contouring process to a specified
area of interest in the DTI file.
The area of interest should lie within the bounds of the DTI file.
If the logical name LSL$MATRIX_DEFAULT_WINDOW is defined with a value of
"1", then a default area of interest defined in matrix units of bottom left
hand corner 1,1 and top right hand corner 200,200 is set when the file is
opened. If the logical name is absent or has any other value, or if the input
DTI file has fewer than 200 columns or 200 rows, then a default window
equivalent to the total matrix is set.
--------------------------------------------------------------------------------
The following warning messages are specific to the WINDOW command:
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Specifies that contouring is only to be done between the specified
minimum and maximum Z values. Heights that lie outside the specified limits
will not be contoured.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
real1
The minimum Z value in the input data
real2
The maximum Z value in the input data
--------------------------------------------------------------------------------
The ZLIMITS command enables the user to specify that contouring is only to
be done between the stated minimum and maximum Z values. Heights that lie
outside the specified limits will not be contoured.
If one of the height modification options is selected
using ENABLE MULTIPLYBY, ENABLE TOFEET etc_., you must give the ZLIMITS in
the target measurement system or height range (ie feet for the TOFEET
command). Failure to do this may result in a lot more (or less) contours
than you expected!
--------------------------------------------------------------------------------
The following warning messages are specific to the ZLIMITS command:
*** WARNING *** You must specify minimum and maximum Z value arguments
For example ZLIMITS 80.0 3000.0
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
$
$ DTICONTOUR<CR>
DTMCREATE module DTICONTOUR of 15:02:26 16-NOV-87
DTICONTOUR> FILEIN 52N09E_DTED_UTM<CR>
DTI file LSL$DTI:52N09E_DTED_UTM.DTI;0 opened for read
File : LSL$DTI:52N09E_DTED_UTM.DTI;0
Header : LSLA Data: WORD
Units are metres
Matrix Coverage SW: 500083.88 5761241.50 NE: 568683.88 5872941.50
Matrix Window SW: 500083.88 5761241.50 NE: 568683.88 5872941.50
Matrix Interval E: 100.00 N: 100.00
Value Range : 4 to 1104
DTICONTOUR> IFF 5209_WORD<CR>
%LSLLIB-I-IFFOPENED, LSL$SOURCE_ROOT:[TVES.DTICONTOUR]5209_WORD.IFF;2 opened for write
DTICONTOUR> WINDOW 500083.88 5761241.50 538683.88 5802941.50<CR>
DTICONTOUR> ENABLE SMOOTH 2<CR>
DTICONTOUR> ENABLE FRAME<CR>
DTICONTOUR> SET FRAME_FC 2<CR>
DTICONTOUR> SET FC 5<CR>
DTICONTOUR> SET INDEX_FC 3<CR>
DTICONTOUR> SET LABEL_FC 1<CR>
DTICONTOUR> SET INDEX_LABEL_FC 1<CR>
DTICONTOUR> ENABLE SPOT<CR>
DTICONTOUR> SET SPOT_FC 4<CR>
DTICONTOUR> SET SPOT_LABEL_FC 1<CR>
DTICONTOUR> INTERVAL 50<CR>
DTICONTOUR> INDEX_INTERVAL 250<CR>
DTICONTOUR> ENABLE LABELLING<CR>
DTICONTOUR> LABEL SIZE 120<CR>
DTICONTOUR> LABEL MINGAP 2000<CR>
DTICONTOUR> LABEL MAXCURVE 0.75<CR>
DTICONTOUR> LABEL MODULUS 0 ! don't label intermediate contours<CR>
DTICONTOUR> LABEL INDEX_MODULUS 250 ! but do label all index ones<CR>
DTICONTOUR> LABEL INTEGER<CR>
DTICONTOUR> ENABLE DIAGNOSTICS<CR>
DTICONTOUR> GO ! go!<CR>
===================== STARTING CONTOUR GENERATION =====================
Units are metres
Matrix Coverage SW: 500083.88 5761241.50 NE: 568683.88 5872941.50
Contouring window SW: 500083.88 5761241.50 NE: 538683.88 5802941.50
All heights between 4.000 and 1104.000 will be contoured
+------------------------+
| Tracing index contours |
+------------------------+
Tracing index contours with a height of 250.000
Tracing index contours with a height of 500.000
Tracing index contours with a height of 750.000
Tracing index contours with a height of 1000.000
+-------------------------------+
| Tracing intermediate contours |
+-------------------------------+
Tracing intermediate contours with a height of 50.000
Tracing intermediate contours with a height of 100.000
Tracing intermediate contours with a height of 150.000
Tracing intermediate contours with a height of 200.000
Tracing intermediate contours with a height of 300.000
Tracing intermediate contours with a height of 350.000
Tracing intermediate contours with a height of 400.000
Tracing intermediate contours with a height of 450.000
Tracing intermediate contours with a height of 550.000
Tracing intermediate contours with a height of 600.000
Tracing intermediate contours with a height of 650.000
Tracing intermediate contours with a height of 700.000
Tracing intermediate contours with a height of 800.000
Tracing intermediate contours with a height of 850.000
Tracing intermediate contours with a height of 900.000
Tracing intermediate contours with a height of 950.000
Tracing intermediate contours with a height of 1050.000
Tracing intermediate contours with a height of 1100.000
ELAPSED: 0 00:16:15.77 CPU: 0:10:05.76 BUFIO: 103 DIRIO: 4683 FAULTS: 36493
$
In this example DTICONTOUR has been used to generate contours from an
LSLA format DTI file LSL$DTI:52N09E_DTED_UTM.DTI;0. This file is of type word
(integer) and the projection information indicate that the data are
in metres.
The output IFF file is specified using the IFF command. The missing
parts of the IFF file specification are taken from the translation of logical
name LSL$IF. IFF file LSL$SOURCE_ROOT:[TVES.DTICONTOUR]5209_WORD.IFF;2
is created and opened for write.
Post tracing contour smoothing is specified with the ENABLE SMOOTH
command. Two iterations of the smoothing routine will be used.
The user has next specified that the data window shall be defined in the
IFF file by a frame feature. This feature is given a feature code of 2 by the
SET FRAME_FC command. This enables the frame to be differentiated from other
data within the file.
Other IFF feature code assignments are then set up using the SET command.
Feature code 5 is assigned for ordinary (or "intermediate") contours and
feature code 3 is assigned for index contours. All labels generated for
intermediate and index contours and spot heights are assigned feature code 1.
The ENABLE SPOT_HEIGHTS command ensures that any single points
which lie at a contour height will be represented by a labelled spot height
feature. These spot heights are given feature code 4 using the SET SPOT_FC
command.
The intermediate contour interval is set to 50 using the INTERVAL command
and the index contour interval to 250 using the INDEX_INTERVAL command.
LABEL generation is enabled with the ENABLE LABEL command. Labelling
characteristics are set up via a series of LABEL command arguments. LABEL
SIZE sets the label character height in IFF units (in this example metres!).
LABEL MINGAP sets the minimum distance (in IFF units) permitted between
successive labels along a contour line. The LABEL MAXCURVE argument of 0.75
(on a scale of 0.0 to 1.0) increases DTICONTOURs tolerance to bendy linework
(default 0.7) when assessing the suitability of the site for a label.
The LABEL MODULUS and LABEL INDEX_MODULUS commands determine the frequency
of contour labelling. The label modulus command arguments specify a height.
If a contour is exactly divisible by this height it will be labelled.
By specifying a LABEL MODULUS argument of zero the user prevents labelling
of any intermediate contours. The LABEL INDEX_MODULUS command argument of 250
means that only index contours which are divisible by 250 will be labelled.
The ENABLE DIAGNOSTICS command causes DTICONTOUR to output diagnostic
information during processing. This text can be seen in this example after the
GO command is used to set the contouring process in motion.
The run has completed successfully. DCL symbol $STATUS is set to
SS$_NORMAL, normal successful completion.
See dticontourmsg.html generated from DTICONTOURMSG.RNO.
Press
DTICONTOUR>
QUIT COMMAND
QUIT
FORMAT: QUIT
Command parameters: None.
Description:
Messages: None.
Examples:
ELAPSED: 00:00:20.04 CPU: 0:00:04.71 BUFIO: 281 DIRIO: 46 FAULTS: 263
_$
RETURN COMMAND
RETURN
FORMAT: RETURN
Command parameters: None.
DESCRIPTION:
Messages:
RETURN command ignored - command input is already from terminal
Examples:
DTICONTOUR> @FLOW2<CR>
DTICONTOUR> ENABLE DIAGNOSTICS
DTICONTOUR> RETURN
DTICONTOUR>
SET CONTOUR_FC COMMAND
SET CONTOUR_FC
FORMAT: SET CONTOUR_FC feature-code
Command parameters:
DESCRIPTION:
Messages:
Examples:
DTICONTOUR> SET CONTOUR_FC 209<CR>
DTICONTOUR>
SET FRAME_FC COMMAND
SET FRAME_FC
FORMAT: SET FRAME_FC feature-code
Command parameters:
DESCRIPTION:
Messages:
Examples:
DTICONTOUR> SET FRAME_FC 209<CR>
DTICONTOUR>
SET INDEX_FC COMMAND
SET INDEX_FC
FORMAT: SET INDEX_FC feature-code
Command parameters:
DESCRIPTION:
Messages:
Examples:
DTICONTOUR> SET INDEX_FC 209<CR>
DTICONTOUR>
SET INDEX_LABEL_FC COMMAND
SET INDEX_LABEL_FC
FORMAT: SET INDEX_LABEL_FC feature-code
Command parameters:
DESCRIPTION:
Messages:
Examples:
DTICONTOUR> SET INDEX_LABEL_FC 209<CR>
DTICONTOUR>
SET LABEL_FC COMMAND
SET LABEL_FC
FORMAT: SET LABEL_FC feature-code
Command parameters:
DESCRIPTION:
Messages:
Examples:
DTICONTOUR> SET LABEL_FC 209<CR>
DTICONTOUR>
SET LAYER COMMAND
SET LAYER
FORMAT: SET LAYER layer-number
Command parameters:
DESCRIPTION:
Messages:
Examples:
DTICONTOUR> SET LAYER 1008<CR>
DTICONTOUR>
SET SCALE COMMAND
SET SCALE
FORMAT: SET SCALE scale
Command parameters:
DESCRIPTION:
Messages:
Examples:
DTICONTOUR> SET SCALE 100000<CR>
DTICONTOUR>
SET SPOT_FC COMMAND
SET SPOT_FC
FORMAT: SET SPOT_FC feature-code
Command parameters:
DESCRIPTION:
Messages:
Examples:
DTICONTOUR> SET SPOT_FC 2<CR>
DTICONTOUR>
SET SPOT_LABEL_FC COMMAND
SET SPOT_LABEL_FC
FORMAT: SET SPOT_LABEL_FC feature-code
Command parameters:
DESCRIPTION:
Messages:
Examples:
DTICONTOUR> SET SPOT_LABEL_FC 209<CR>
DTICONTOUR>
SHOW COMMAND
SHOW
FORMAT: SHOW subject
Command parameters:
CONTOURS ENABLE FILES LABELLING SETTINGS UNITS
DESCRIPTION:
Messages: None.
Examples:
$ DTICONTOUR<CR>
DTMCREATE module DTICONTOUR of 09:13:58 18-NOV-87
DTICONTOUR> SHOW ENABLE<CR>
ABSOLUTE ..................................................... On
DIAGNOSTICS .................................................. Off
DIVIDEBY ..................................................... Off
FRAME ........................................................ Off
INDEX ........................................................ On
INTEGER_HEIGHT ............................................... Off
(Contour heights will be placed in type 3 AC entries)
LABELLING .................................................... Off
MULTIPLY .................................................... Off
PME .......................................................... Off
SMOOTHING .................................................... Off
SPOT_HEIGHTS ................................................. Off
(Single point contours to be omitted from output)
TOFEET ....................................................... Off
TOMETRES ..................................................... Off
DTICONTOUR> QUIT<CR>
ELAPSED: 0 00:00:19.08 CPU: 0:00:04.95 BUFIO: 10 DIRIO: 111 FAULTS: 68
_$
SPAWN COMMAND
SPAWN
FORMAT: SPAWN command-line
Command parameters:
DESCRIPTION:
Messages:
*** ERROR *** Unable to spawn command, returning to DTICONTOUR
Examples:
DTICONTOUR> SPAWN DIRECTORY *_.DTI;*<CR>
Directory DUA3:[TVES.ACCEPTANCE_TESTS]
TEST1_.DTI;1 8/8 18-Oct-1987 07:56 [LSL,TIM]
TEST2_.DTI;2 7/8 18-Oct-1987 17:17 [LSL,TIM]
TEST2_.DTI;1 7/8 18-Oct-1987 17:07 [LSL,TIM]
Total of 3 files, 22/24 blocks.
DTICONTOUR>
UNITS COMMAND
UNITS
FORMAT: UNITS units
Command parameters:
MATRIX Matrix grid interval units, i.e rows and columns
METRES Metres on the ground
LATLONG Latitude and Longitude
(in degrees, minutes and seconds)
SECONDS Seconds of arc
PROJECTION Projection units
DESCRIPTION:
The command should be given after defining the input DTI file, since an
appropriate default units of measurement is set up whenever an input DTI file
is opened, (see general Description).
Messages:
*** ERROR *** Specifying command UNITS
Command qualifiers are MATRIX,METRES,PROJECTION,SECONDS or LATLONG
*** ERROR *** Specifying command UNITS
Command qualifier is invalid for the input file
*** WARNING *** Specifying command UNITS
You must use the FILEIN command to specify the input
DTI file first
Examples:
DTICONTOUR> UNITS MATRIX<CR>
DTICONTOUR>
WAIT COMMAND
WAIT
FORMAT: WAIT seconds
Command parameters:
DESCRIPTION:
Messages:
Examples:
DTICONTOUR> WAIT 4.0<CR>
DTICONTOUR>
WINDOW COMMAND
WINDOW
FORMAT: WINDOW xmin ymin xmax ymax
Command parameters:
The coordinates of the bottom left hand corner of the defining rectangle.
The coordinates of top right hand corner of the defining rectangle.
DESCRIPTION:
Messages:
*** WARNING **** Unable to read WINDOW arguments
*** WARNING **** is still unset, please respecify the WINDOW command
*** ERROR **** window values define a zero width window
*** ERROR **** window values define a zero height window
Examples:
DTICONTOUR> UNITS LATLONG<CR>
DTICONTOUR> WINDOW 52 10 00.0N 06 00 00.0E 52 30 00.0N 06 30 00.0E<CR>
DTICONTOUR>
ZLIMITS COMMAND
ZLIMITS
FORMAT: ZLIMITS real1 real2
COMMAND PARAMETERS:
Description:
Messages:
Examples:
DTICONTOUR> SHOW WINDOW<CR>
XMIN = 0.0 XMAX = 100.0 YMIN = 0.0 YMAX = 100.0
Z-limits currently undefined
DTICONTOUR> ZLIMITS 0 850<CR>
DTICONTOUR> SHOW WINDOW<CR>
Xmin = 0.0 Xmax = 100.0 Ymin = 0.0 Ymax = 100.0
Zmin= 0.000 Zmax= 850.000
DTICONTOUR>
EXAMPLES