--------------------------------------------------------------------------------
MODULE DTIBLEND
--------------------------------------------------------------------------------
REPLACES None. DTIBLEND is a new MATRIX utility.
--------------------------------------------------------------------------------
DTIBLEND is the MATRIX DTI file edge blend utility. It takes as input two DTI files, usually containing terrain elevation models, and edge matches them to avoid value discontinuities at the matrix adjoining edge. Options are provided to hold one matrix unchanged while smoothing the other to match it, or to smooth both matrices to a common mean along the edge. An option is provided to read in IFF vector data for use as control to the smoothing process.
$ DTIBLEND
None, DTIBLEND is command driven.
--------------------------------------------------------------------------------
On program startup, the following command defaults apply:
BORDER - 3.
DIAGNOSTICS - disabled.
DIVIDEBY - 1.0, i.e. disabled.
IN_SITU - disabled.
MULTIPLYBY - 1.0, i.e. disabled.
NULL - -DTILIB default for data-type.
PME - disabled.
SMOOTH - disabled.
THRESHOLD - disabled.
TOFEET - disabled.
TOMETRES - disabled.
--------------------------------------------------------------------------------
----------------------------------------------------------------------
DTIBLEND is the MATRIX DTI file edge blend utility. It takes as input two DTI files, usually containing terrain elevation models, and edge matches them to avoid value discontinuities at the matrix adjoining edge.
Processing options are:
----------------------------------------------------------------------
Provision for null post handling is made within DTIBLEND. Any null post values found within the blend zone (of width defined by the BORDER command) will be omitted from the edge blend process. If the null value occurs at either or both ends of the blend profile no posts within that profile will be changed. Messages will be sent to the terminal or to the optional listing file and ROVER guidance files, which will draw attention to any processing omissions caused by null post detection.
----------------------------------------------------------------------
Detailed descriptions of the individual commands available are given below.
A typical command sequence is:
HOLD TESTDATA1 - open LSL$DTI:TESTDATA1.DTI;0 for readonly
input. The edge of this file will be held
as control for the corresponding edge of the file
opened with the BLEND command.
BLEND TESTDATA2 TESTDATA2__BLENDED
- open LSL$DTI:TESTDATA2.DTI;0 for readonly input.
This file will be copied to
LSL$DTI:TESTDATA2__BLENDED.DTI;0. The edge of this
copied file will then be brought into
vertical alignment with the corresponding
edge of the HOLD file LSL$DTI:TESTDATA1.DTI;0.
IFF TEST__CONTROL.IFF - open LSL$IF:TEST__CONTROL.IFF:0 for readonly
input. The vector data in this file will be used
to control the amount of change allowed in the edge
blend process.
BORDER 5 - blend 5 posts in from the blend edge.
GO - start processing
This series of commands specifies that DTIBLEND is to edge blend two DTI files: LSL$DTI:TESTDATA1.DTI;0 as the control (unchanged) file and LSL$DTI:TESTDATA2.DTI;0 as the file which is to be blended to fit it.
Output is to be to a new DTI file; LSL$DTI:TESTDATA2_BLEND.DTI;0.
When adjusting the BLEND file edge post values relative to the HOLD file, the edge blend process is to be further controlled by reference to vector data held in an IFF file LSL$IF:TEST_CONTROL.IFF:0.
--------------------------------------------------------------------------------
_@
Take command input from the specified file.
--------------------------------------------------------------------------------
FORMAT: _@ file-spec
--------------------------------------------------------------------------------
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:
DTIBLEND offers the facility of command input from an indirect command file. The '@' character preceding a file-spec will cause DTIBLEND 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 DTIBLEND 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:
$ DTIBLEND<CR>
MATRIX module DTIBLEND of 18:30:39 18-FEB-88
DTIBLEND> @PRESETS<CR>
DTIBLEND> ENABLE DIAGNOSTICS
DTIBLEND> BORDER 5
DTIBLEND> RETURN
DTIBLEND>
--------------------------------------------------------------------------------
_!
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 MATRIX 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:
DTIBLEND> _! a comment for the sake of it<CR>
DTIBLEND> BORDER 2 ! just blend the very edge posts only
--------------------------------------------------------------------------------
BLEND
Specifies a DTI file that is to be opened and blended and optionally the name of the output file which is to receive the results of the blend processing.
--------------------------------------------------------------------------------
FORMAT: BLEND dti-file-spec [output-dti-file-spec]
--------------------------------------------------------------------------------
COMMAND PARAMETERS:
dti-file-spec
The specification of the DTI file to be opened for blend input.
If the optional IN_SITU option is enabled, this file will be opened for both read and write and will be modified by the edge blend process.
Any parts of the file-spec not supplied will be taken from the default file specification 'LSL$DTI:DTI.DTI;0'.
output-dti-file-spec
The specification of the DTI file to be opened for blend output.
Any parts of the file-spec not supplied will be taken from the default file specification 'LSL$DTI:DTI.DTI;0'.
If the optional IN_SITU option is enabled, this file-spec is not required.
--------------------------------------------------------------------------------
DESCRIPTION:
Specifies a DTI file that is to be opened and blended. If the IN_SITU option is enabled, the DTI file will be opened for read and write (modify) access. If the IN_SITU option is disabled (default) the BLEND command must be given two file-specification arguments. In this situation the file defined by the first file-spec is opened readonly as the input file and the second is opened with write access as the output file.
If the user wishes to blend two DTI files to a common mean edge value two BLEND commands should be used instead of one BLEND and one HOLD command.
It is recommended that the IN_SITU processing option is not normally used, as it will irrevocably modify the source input file (of which the user may not have another copy). The IN_SITU option is, however, useful when edge blending large DTI files when the user's virtual address quota or disk space is inadequate for opening additional DTI files for output.
At least one BLEND command must be issued before the GO command will be accepted.
--------------------------------------------------------------------------------
Messages:
The following messages are specific to the BLEND command:
*** ERROR *** Unable to interpret input file-spec
*** ERROR *** Two BLEND commands have already been accepted!
DTIBLEND requires either a HOLD command and a BLEND command
or two BLEND commands
*** ERROR *** You must specify a file-spec argument to the BLEND command
*** ERROR *** You must specify two file-spec arguments to
the BLEND command.
For example BLEND SW301.DTI SW301OUT.DTI
*** ERROR *** You must specify two file-spec arguments to
the BLEND command if the IN__SITU option is disabled.
*** ERROR *** Reading BLEND output file-spec
*** ERROR *** Unable to interpret BLEND file-spec
--------------------------------------------------------------------------------
Examples:
DTIBLEND> BLEND SOIL SOIL2<CR> File : LSL$DTI:SOIL.DTI;0 Header : MIKE Data: REAL Units are DTI Matrix Values. Matrix Coverage SW: 1 1 NE: 449 449 Matrix Interval E: 1.00 N: 1.00 Value Range : -5.00 to 326421.00 File : LSL$DTI:SOIL2.DTI;0 Header : MIKE Data: REAL Units are DTI Matrix Values. Matrix Coverage SW: 1 1 NE: 449 449 Matrix Interval E: 1.00 N: 1.00 Value Range : -5.00 to 326421.00 DTIBLEND>
--------------------------------------------------------------------------------
BORDER
Specifies the width (expressed matrix units) of the blend zone within each DTI file opened for blend.
--------------------------------------------------------------------------------
FORMAT: BORDER width
--------------------------------------------------------------------------------
Command parameters:
width
The width (expressed matrix units) of the blend zone within each DTI file opened for blend. This must lie in the range 2 to 5.
If the DTI files adjoin top to bottom width indicates the number of rows to be blended parallel to the adjoining edge. If the DTI files adjoin side by side width indicates the number of columns to be blended parallel to the adjoining edge.
--------------------------------------------------------------------------------
Description:
The value supplied for the BORDER command (expressed matrix units) determines the width of the blend zone within each DTI file opened for blend. If the DTI files adjoin top to bottom, BORDER width indicates the number of rows to be blended parallel to the adjoining edge. If the DTI files adjoin side by side, BORDER width indicates the number of columns to be blended parallel to the adjoining edge.
The row or column that lies along the mutual join between the 2 DTI files is treated as part of the blend zone and is included in the BORDER width. In other words, the blend zone width within each BLEND DTI file will be BORDER-1 times the matrix grid interval for that axis. Thus using two blend commands and the default BORDER width of 3, and the DTI files adjoin top to bottom, the edge row and the two adjacent rows in each DTI file will be modified.
By default DTIBLEND applies a BORDER value of 3.
--------------------------------------------------------------------------------
Messages:
The following warning messages are specific to the BORDER command:
*** WARNING *** You must specify an integer argument to the BORDER command
For example BORDER 3
*** ERROR *** Invalid border width.
BORDER arguments must lie in the range 2 to 5
--------------------------------------------------------------------------------
Examples:
DTIBLEND> BORDER 8<CR>
*** ERROR *** Invalid border width.
BORDER arguments must lie in the range 2 to 5
DTIBLEND> BORDER 5<CR>
DTIBLEND>
--------------------------------------------------------------------------------
DESELECT FC
Deselects specified IFF feature codes. Any IFF features having the specified feature codes will be excluded as control for the blend process.
--------------------------------------------------------------------------------
FORMAT: DESELECT FC feature-code[,...]
--------------------------------------------------------------------------------
Command parameters:
feature-code
An IFF feature code which must lie in the range 0 to 32767. Multiple feature codes may be specified separated by commas or spaces. Ranges of feature codes may be specified by separating the range start and stop values by a colon, e.g. DESELECT FC 2:6 will result in the deselection of feature codes 2,3,4,5 and 6.
If an FRT file has been read into DTIBLEND any valid feature code group names may be used as arguments to the DESELECT FC command.
--------------------------------------------------------------------------------
DESCRIPTION:
The DESELECT FC command complements the SELECT FC command. DESELECT FC enables the user to prevent DTIBLEND from reading in any IFF features which have the specified feature codes.
On program startup all FCs are selected for input.
Specific FC selections may then be made with the SELECT FC command. Only the specified FCs will be used for input. All FCs not explicitly specified in a SELECT FC command will be then excluded from input.
ALL FC and layer selections are cancelled by the SELECT ALL command; i.e. all layers and FCs are reselected for input.
--------------------------------------------------------------------------------
Messages:
The following warning messages are specific to the DESELECT FC command:
*** WARNING *** You must have read an FRT file to be able to use group names *** WARNING *** No groups have been defined in the FRT *** WARNING *** Illegal feature code 'integer' *** WARNING *** Bad group name 'group-name'
--------------------------------------------------------------------------------
Examples:
DTIBLEND> DESELECT FC 6:9,WATER,126<CR>
DTIBLEND>
--------------------------------------------------------------------------------
DESELECT LAYER
Deselects specified IFF layers. Any IFF features lying within the specified layers will be excluded as control for the blend process.
--------------------------------------------------------------------------------
FORMAT: DESELECT LAYER layer[,...]
--------------------------------------------------------------------------------
Command parameters:
layer
An IFF layer number must lie in the range 0 to 32767. Multiple layers may be specified separated by commas or spaces. Ranges of layers may be specified by separating the range start and stop values by a colon, e.g. DESELECT LAYER 2:6 will result in the deselection of layers 2,3,4,5 and 6.
--------------------------------------------------------------------------------
DESCRIPTION:
The DESELECT LAYER command complements the SELECT LAYER command. DESELECT LAYER enables the user to prevent DTIBLEND from reading in any IFF features which lie within the specified layers.
The DESELECT LAYER command complements the SELECT LAYER command. DESELECT LAYER enables the user to prevent DTIBLEND from reading in any IFF features which lie within the specified layers.
On program startup all layers are selected for input.
Specific layer selections may then be made with the SELECT FC command. Only the specified layers will be used for input. All layers not explicitly specified in SELECT LAYER commands will be then excluded from input.
ALL FC and layer selections are cancelled by the SELECT ALL command; i.e. all layers and FCs are reselected for input.
--------------------------------------------------------------------------------
Messages:
The following warning messages are specific to the DESELECT LAYER command:
*** WARNING *** Too many layer arguments in one command *** WARNING *** Illegal layer number 'integer'
--------------------------------------------------------------------------------
Examples:
DTIBLEND> DESELECT LAYER 21:29,126<CR>
DTIBLEND>
--------------------------------------------------------------------------------
DISABLE DIAGNOSTICS
Disables a previous ENABLE DIAGNOSTICS command.
--------------------------------------------------------------------------------
FORMAT: DISABLE DIAGNOSTICS
--------------------------------------------------------------------------------
Command parameters: None.
--------------------------------------------------------------------------------
DESCRIPTION:
DISABLE DIAGNOSTICS allows the user to disable a previous ENABLE DIAGNOSTICS command.
--------------------------------------------------------------------------------
Messages: None.
--------------------------------------------------------------------------------
Examples:
DTIBLEND> ENABLE DIAGNOSTICS<CR>
DTIBLEND> SHOW ENABLE<CR>
DIAGNOSTICS .................................................. On DIVIDEBY ..................................................... Off INTEGER_HEIGHT ............................................... Off (Incoming IFF heights expected in type 3 AC entries) IN_SITU ...................................................... Off MULTIPLY .................................................... Off PME .......................................................... Off SMOOTH ....................................................... Off 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:
DTIBLEND> DISABLE DIVIDEBY<CR>
DTIBLEND>
--------------------------------------------------------------------------------
DISABLE IN_SITU
DISABLE IN_SITU cancels the effect of a previous ENABLE IN_SITU command.
--------------------------------------------------------------------------------
FORMAT: ENABLE IN_SITU
--------------------------------------------------------------------------------
Command parameters: None.
--------------------------------------------------------------------------------
DESCRIPTION:
By default DTIBLEND requires an output file specification to be supplied for the BLEND command. It then creates and opens this file to receive the results of the blend process. Like a HOLD input DTI file, the input DTI file opened with a BLEND command is not altered in any way.
ENABLE IN_SITU enables in-situ processing of the DTI file opened for BLEND.
DISABLE IN_SITU cancels the effect of a previous ENABLE IN_SITU command. However, any DTI input files that have already been specified using BLEND commands when IN_SITU mode was enabled will remain subject to in-situ modification. DTIBLEND issues the following message when a DISABLE IN_SITU command is accepted:
**************************************************************************** * * * W A R N I N G * * * * Any DTI input files that have already been specified using BLEND * * commands when IN_SITU mode was enabled will remain subject to in-situ * * modification * * * ****************************************************************************
--------------------------------------------------------------------------------
Message:
See above for the warning message issued by the DISABLE IN_SITU command.
--------------------------------------------------------------------------------
Examples:
**************************************************************************** * * * W A R N I N G * * * * Any DTI input files that have already been specified using BLEND * * commands when IN_SITU mode was enabled will remain subject to in-situ * * modification * * * ****************************************************************************
--------------------------------------------------------------------------------
DISABLE INTEGER_HEIGHT
DISABLE INTEGER_HEIGHT disables the effect of a previous ENABLE INTEGER_HEIGHT command.
--------------------------------------------------------------------------------
FORMAT: DISABLE INTEGER_HEIGHT
--------------------------------------------------------------------------------
Command parameters: None.
--------------------------------------------------------------------------------
DESCRIPTION:
In IFF files height values are transmitted via AC (Ancillary Code) or ZS (3D string) entries. By default contour and spot height Z values are read from type 3 ACs as floating point values. By use of the ENABLE INTEGER_HEIGHT command, integer heights may be read from type 2 ACs.
The DISABLE INTEGER_HEIGHT command disables the effect of a previous ENABLE INTEGER_HEIGHT command and heights will be read from type 3 (floating point) ACs.
--------------------------------------------------------------------------------
Messages: None.
--------------------------------------------------------------------------------
Examples:
DTIBLEND> DISABLE INTEGER_HEIGHT<CR>
DTIBLEND>
--------------------------------------------------------------------------------
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:
DTIBLEND> DISABLE MULTIPLYBY<CR>
DTIBLEND>
--------------------------------------------------------------------------------
DISABLE PME
Disables a previous ENABLE PME command.
--------------------------------------------------------------------------------
FORMAT: DISABLE PME
--------------------------------------------------------------------------------
Command parameters: None.
--------------------------------------------------------------------------------
DESCRIPTION:
DISABLE PME allows the user to disable a previous ENABLE PME command.
--------------------------------------------------------------------------------
Messages:
*** WARNING *** You are not using PME !
--------------------------------------------------------------------------------
Examples:
DTIBLEND> ENABLE PME<CR>
DTIBLEND> DISABLE PME<CR>
DTIBLEND>
--------------------------------------------------------------------------------
DISABLE SMOOTH
Cancels the effect of a previous ENABLE SMOOTH command.
--------------------------------------------------------------------------------
FORMAT: DISABLE SMOOTH
--------------------------------------------------------------------------------
Command parameters: None.
--------------------------------------------------------------------------------
DESCRIPTION:
By default standard linear interpolation from one matrix to another is performed, but an alternative action is to perform a smooth (gradual) feathering of one matrix to another.
The ENABLE SMOOTH command enables the smooth feathering interpolation action to be applied.
--------------------------------------------------------------------------------
Messages: None.
--------------------------------------------------------------------------------
Examples:
DTIBLEND> DISABLE SMOOTH<CR>
DTIBLEND>
--------------------------------------------------------------------------------
DISABLE TOFEET
Cancels the effect of a previous ENABLE TOFEET command.
--------------------------------------------------------------------------------
FORMAT: DISABLE TOFEET
--------------------------------------------------------------------------------
Command parameters: None.
--------------------------------------------------------------------------------
DESCRIPTION:
It is possible that different IFF input files may have heights recorded in different measurement systems. The DTI file heights are relative to one measurement system only. Two preset height conversion options are available: ENABLE TOMETRES and ENABLE TOFEET.
The ENABLE TOFEET command enables the conversion of heights held in the IFF file in metres to feet. It has the same effect as an explicit ENABLE MULTIPLYBY 3.2808455 command. For example, if the DTI file heights are in feet, it is possible to read in one IFF control file with heights in feet with one IFF command and then use the ENABLE TOFEET command and read in another file with heights in metres, converting to feet during read-in.
N.B. DISABLE TOFEET will not cancel an explicit ENABLE MULTIPLYBY 3.2808455 command.
--------------------------------------------------------------------------------
Messages: None.
--------------------------------------------------------------------------------
Examples:
DTIBLEND> DISABLE TOFEET<CR>
DTIBLEND>
--------------------------------------------------------------------------------
DISABLE TOMETRES
Cancels the effect of a previous ENABLE TOMETRES command.
--------------------------------------------------------------------------------
FORMAT: DISABLE TOMETRES
--------------------------------------------------------------------------------
Command parameters: None.
--------------------------------------------------------------------------------
DESCRIPTION:
It is possible that different IFF input files may have heights recorded in different measurement systems. The DTI file heights are relative to one system only. Two height conversion options are available: ENABLE TOFEET and ENABLE TOMETRES.
The ENABLE TOMETRES command enables the conversion of heights held in the IFF file in feet to metres. It has the same effect as an explicit ENABLE DIVIDEBY 3.2808455 command. For example, if the DTI file heights are in metres, it is possible to read in one IFF control file with heights in metres with one IFF command and then use the ENABLE TOMETRES command and read in another file with heights in feet, converting to metres during read-in.
N.B. DISABLE TOMETRES will not cancel an explicit ENABLE DIVIDEBY 3.2808455 command.
--------------------------------------------------------------------------------
Messages: None.
--------------------------------------------------------------------------------
Examples:
DTIBLEND> DISABLE TOMETRES<CR>
DTIBLEND>
--------------------------------------------------------------------------------
ENABLE DIAGNOSTICS
ENABLE DIAGNOSTICS allows the user to enable diagnostic printout.
--------------------------------------------------------------------------------
FORMAT: ENABLE DIAGNOSTICS
--------------------------------------------------------------------------------
Command parameters: None.
--------------------------------------------------------------------------------
DESCRIPTION:
ENABLE DIAGNOSTICS allows the user to enable diagnostic printout.
On a heavily loaded computer it may be reassuring to ENABLE DIAGNOSTICS to indicate the progress of processing.
--------------------------------------------------------------------------------
Messages: None.
--------------------------------------------------------------------------------
Examples:
--------------------------------------------------------------------------------
ENABLE DIVIDEBY
ENABLE DIVIDEBY allows the user to enable division of IFF input file heights by a specified floating point constant.
--------------------------------------------------------------------------------
FORMAT: ENABLE DIVIDEBY denominator
--------------------------------------------------------------------------------
Command parameters:
denominator
The value by which all IFF input file heights are to be divided.
--------------------------------------------------------------------------------
DESCRIPTION:
The ENABLE DIVIDEBY enables the user to divide all incoming 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:
DTIBLEND> ENABLE DIVIDEBY 39.2<CR>
DTIBLEND>
--------------------------------------------------------------------------------
ENABLE IN_SITU
ENABLE IN_SITU enables in-situ processing of the DTI file opened for BLEND.
--------------------------------------------------------------------------------
FORMAT: ENABLE IN_SITU
--------------------------------------------------------------------------------
Command parameters: None.
--------------------------------------------------------------------------------
DESCRIPTION:
By default, DTIBLEND requires an output file specification to be supplied for the BLEND command. It then creates and opens this file to receive the results of the blend process. Like a HOLD input DTI file, the input DTI file opened with a BLEND command is not altered in any way.
ENABLE IN_SITU enables in-situ processing of the DTI file opened for BLEND. ENABLE IN_SITU completely changes the way DTIBLEND treats the BLEND command. When the IN_SITU command is specified, DTIBLEND expects only one DTI file-spec argument to the BLEND command. This DTI file is then opened for both read and write and the results of the blend process are written back into the same file.
Because of the danger of modifying a unique input file in an irrevocable fashion using the ENABLE IN_SITU command, DTIBLEND issues a stern warning after accepting the IN_SITU command:
**************************************************************************** * * * W A R N I N G * * * * Use of the BLEND command with only one file-spec argument will result * * in the input file being overwritten. If you want the results of the * * edge blend process to be written to a new output file the BLEND * * command must be specified with two file-spec arguments. * * * ****************************************************************************
--------------------------------------------------------------------------------
Message:
The following warning message is specific to the ENABLE IN_SITU command:
*** WARNING *** You are already using IN_SITU!
--------------------------------------------------------------------------------
Examples:
**************************************************************************** * * * W A R N I N G * * * * Use of the BLEND command with only one file-spec argument will result * * in the input file being overwritten. If you want the results of the * * edge blend process to be written to a new output file the BLEND * * command must be specified with two file-spec arguments. * * * ****************************************************************************
--------------------------------------------------------------------------------
ENABLE INTEGER_HEIGHT
Take feature heights from type 2 (integer) AC (Ancillary Code) entries in an IFF input file.
--------------------------------------------------------------------------------
FORMAT: ENABLE INTEGER_HEIGHT
--------------------------------------------------------------------------------
Command parameters: None.
--------------------------------------------------------------------------------
DESCRIPTION:
In IFF files, height values are transmitted via AC (Ancillary Code) or ZS (3D string) entries. By default contour and spot height Z values are read from type 3 ACs as floating point values. By use of the ENABLE INTEGER_HEIGHT command, integer heights may be read from type 2 ACs.
ENABLE INTEGER_HEIGHT causes DTIBLEND to take heights from type 2 (integer) AC (Ancillary Code) entries in an IFF input file.
--------------------------------------------------------------------------------
Messages: None.
--------------------------------------------------------------------------------
Examples:
DTIBLEND> ENABLE INTEGER_HEIGHT<CR>
DTIBLEND>
--------------------------------------------------------------------------------
ENABLE SMOOTH
--------------------------------------------------------------------------------
FORMAT: ENABLE SMOOTH
--------------------------------------------------------------------------------
Command parameters: None.
--------------------------------------------------------------------------------
DESCRIPTION:
By default standard linear interpolation from one matrix to another is performed, but an alternative action is to perform a smooth (gradual) feathering of one matrix to another.
The ENABLE SMOOTH command enables the smooth feathering interpolation action to be applied.
--------------------------------------------------------------------------------
Messages: None.
--------------------------------------------------------------------------------
Examples:
DTIBLEND> ENABLE SMOOTH<CR>
DTIBLEND>
--------------------------------------------------------------------------------
ENABLE TOFEET
--------------------------------------------------------------------------------
FORMAT: ENABLE TOFEET
--------------------------------------------------------------------------------
Command parameters: None.
--------------------------------------------------------------------------------
DESCRIPTION:
It is possible that different IFF input files may have heights recorded in different measurement systems. The DTI file heights are relative to one measurement system only. Two preset height conversion options are available: ENABLE TOMETRES and ENABLE TOFEET.
The ENABLE TOFEET command enables the conversion of heights held in the IFF file in metres to feet. It has the same effect as an explicit ENABLE MULTIPLYBY 3.2808455 command. For example, if the DTI file heights are in feet, it is possible to read in one IFF control file with heights in feet with one IFF command and then use the ENABLE TOFEET command and read in another file with heights in metres, converting to feet during read-in.
N.B. DISABLE TOFEET will not cancel an explicit ENABLE MULTIPLYBY 3.2808455 command.
--------------------------------------------------------------------------------
Messages: None.
--------------------------------------------------------------------------------
Examples:
DTIBLEND> ENABLE TOFEET<CR>
DTIBLEND>
--------------------------------------------------------------------------------
ENABLE TOMETRES
--------------------------------------------------------------------------------
FORMAT: ENABLE TOMETRES
--------------------------------------------------------------------------------
Command parameters: None.
--------------------------------------------------------------------------------
DESCRIPTION:
It is possible that different IFF input files may have heights recorded in different measurement systems. The DTI file heights are relative to one system only. Two height conversion options are available: ENABLE TOFEET and ENABLE TOMETRES.
The ENABLE TOMETRES command enables the conversion of heights held in the IFF file in feet to metres. It has the same effect as an explicit ENABLE DIVIDEBY 3.2808455 command. For example, if the DTI file heights are in metres, it is possible to read in one IFF control file with heights in metres with one IFF command and then use the ENABLE TOMETRES command and read in another file with heights in feet, converting to metres during read-in.
N.B. DISABLE TOMETRES will not cancel an explicit ENABLE DIVIDEBY 3.2808455 command.
--------------------------------------------------------------------------------
Messages: None.
--------------------------------------------------------------------------------
Examples:
DTIBLEND> ENABLE TOMETRES<CR>
DTIBLEND>
--------------------------------------------------------------------------------
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:
--------------------------------------------------------------------------------
FRT
Specifies an FRT file which contains feature code group definitions.
--------------------------------------------------------------------------------
FORMAT: FRT file-spec
--------------------------------------------------------------------------------
Command parameters:
file-spec
The specification of an FRT (Feature Representation Table) file required to define feature code groups.
Missing parts from the FRT file-spec argument are taken from the default specification LSL$FRT:FRT.FRT;0.
--------------------------------------------------------------------------------
DESCRIPTION:
The FRT command allows the user to specify an FRT file which contains feature code group definitions. The availability of feature code groups simplifies the specification of complex feature code selections for blend process control.
--------------------------------------------------------------------------------
Messages:
The following messages are specific to the FRT command:
*** ERROR *** reading FRT file-spec
*** ERROR *** unable to open specified FRT
--------------------------------------------------------------------------------
Examples:
DTIBLEND> SELECT FC 7,COAST<CR>
*** WARNING *** You must have read an FRT file to be able to use group names
DTIBLEND> FRT HOVER<CR>
FRT file LSL$FRT:HOVER.FRT;8 opened for read
DTIBLEND> SELECT FC 7,COAST<CR>
DTIBLEND> SELECT FC 7,COAST<CR>
DTIBLEND>
--------------------------------------------------------------------------------
GO
Starts DTIBLEND processing.
--------------------------------------------------------------------------------
FORMAT: GO
--------------------------------------------------------------------------------
Command parameters: None.
--------------------------------------------------------------------------------
DESCRIPTION:
The GO command signifies the end of command interaction with the user and DTI file processing begins.
Before DTI file processing is begun, DTIBLEND checks that two DTI input files have been specified using either BLEND or HOLD commands.
--------------------------------------------------------------------------------
Messages:
The following messages are specific to the GO command:
*** WARNING *** You must specify 2 DTI files for input. Either use a
BLEND and a HOLD command or 2 BLEND commands
Two DTI files must be supplied before submitting a GO command.
*** ERROR *** Although abutting along a common horizontal axis, the input
DTI files do not join across a common edge.
*** ERROR *** Although abutting along a common vertical axis, the input
DTI files do not join across a common edge.
The DTI files have a common edge coordinate, but do not overlap along
it.
--------------------------------------------------------------------------------
Examples:
*** WARNING *** You must specify 2 DTI files for input. Either use a
BLEND and a HOLD command or 2 BLEND commands
DTIBLEND> HOLD SW12I88<CR>
File : LSL$DTI:SW12I88.DTI;0
Header : MIKE Data: REAL
Units are DTI Matrix Values.
Matrix Coverage SW: 1 1 NE: 449 449
Matrix Interval E: 1.00 N: 1.00
Value Range : 0.00 to 326.00
DTIBLEND> GO<CR>
--------------------------------------------------------------------------------
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 MATRIX HELP library. This library contains a brief summary of the operation of each command.
The information is looked up in the DTIBLEND section of the MATRIX help library, LSL$HELP:MATRIX.HLB.
--------------------------------------------------------------------------------
Messages:
Where required, warning messages are output via the VMS LBR$OUTPUT_HELP utility.
--------------------------------------------------------------------------------
Examples:
DTIBLEND> HELP ENABLE PME<CR>
DTIBLEND
ENABLE
PME
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.
DTIBLEND>
--------------------------------------------------------------------------------
HOLD
Specifies a DTI file that is to be opened readonly to which the DTI file opened with the BLEND command will be blended.
--------------------------------------------------------------------------------
FORMAT: HOLD dti-file-spec
--------------------------------------------------------------------------------
COMMAND PARAMETERS:
dti-file-spec
The specification of the DTI file to be opened for HOLD input.
Any parts of the file-spec not supplied will be taken from the default file specification 'LSL$DTI:DTI.DTI;0'.
--------------------------------------------------------------------------------
DESCRIPTION:
Specifies a DTI file that is to be opened readonly. It is the edge of this file which is held fixed, to which the DTI file opened with the BLEND command will be blended.
If the user wishes to blend two DTI files to a common mean edge value, two BLEND commands should be used instead of one BLEND and one HOLD command.
--------------------------------------------------------------------------------
Messages:
The following messages are specific to the HOLD command:
*** ERROR *** Unable to interpret input file-spec
*** ERROR *** A HOLD command has already been accepted. If the HOLD
command is used, the other DTI file must be opened using the BLEND
command.
*** ERROR *** Two BLEND commands have already been accepted. If the HOLD
command is used, only one BLEND command can be specified.
*** ERROR *** You must specify a file-spec argument to the HOLD command
For example HOLD SW301.DTI
*** ERROR *** reading DTI offset
You must specify both the X and the Y origin offset
DTI file 'file-spec' is now closed. Please respecify the HOLD command
--------------------------------------------------------------------------------
Examples:
DTIBLEND> HOLD SW12I88<CR> File : LSL$DTI:SW12I88.DTI;0 Header : MIKE Data: REAL Units are DTI Matrix Values. Matrix Coverage SW: 1 1 NE: 449 449 Matrix Interval E: 1.00 N: 1.00 Value Range : 0.00 to 326.00 DTIBLEND>
--------------------------------------------------------------------------------
IFF
Specifies an IFF file that is to be opened and used as control to the DTI file blend process.
--------------------------------------------------------------------------------
FORMAT: IFF file-spec
--------------------------------------------------------------------------------
COMMAND PARAMETERS:
file-spec
The specification of the 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 specification 'LSL$IF:IFF.IFF;0'.
--------------------------------------------------------------------------------
DESCRIPTION:
The IFF command causes the specified IFF file to be opened and used as an input file to DTIBLEND.
DTIBLEND is designed to be compatible with the "new" type IFF files introduced in conjunction with the IMP (IFF Map Processing) package. The origin offset entry in a type 2 MD (Map Descriptor) is used to offset coordinate values within an input IFF file. Although downwards compatible with "old" type IFF files a warning message is issued if an IFF file is found not to contain a set type 2 MD (Map Descriptor) entry.
In IFF files height values are transmitted via AC (Ancillary Code) or ZS (3D string) entries. By default contour and spot height Z values are read from type 3 ACs as floating point values. By use of the ENABLE INTEGER_HEIGHT command, integer heights may be read from type 2 ACs.
Cliff lines are associated with two constant floating point height values; one for the terrain to the left of the cliffline (relative to the direction of digitising) and one for the height of the terrain to the right. Clifflines are not currently supported by DTIBLEND.
More then one input file may be specified using a new IFF command for each file. Defaults may be changed between reading files. This means that IFF files with different allocations of IFF entries for height information may be combined. Imperial heights may be converted to metric on input with the ENABLE TOMETRES command. The reverse is possible with the ENABLE TOFEET command. Incoming heights may be multiplied or divided by a user specified constant with the ENABLE MULTIPLYBY and ENABLE DIVIDEBY commands respectively.
--------------------------------------------------------------------------------
Messages:
The following messages are specific to the IFF command:
*** WARNING *** You must specify a file-spec argument to the IFF command
*** ERROR *** Unable to interpret input file-spec
--------------------------------------------------------------------------------
Examples:
DTIBLEND> IFF DUA3:[DEMONSTRATION]IDAHO<CR>
DTIBLEND>
------------------------------------------------------------------------------
LIST
The LIST command specifies the name of a file which will contain a log of the DTIBLEND run.
--------------------------------------------------------------------------------
FORMAT: LIST file_spec
--------------------------------------------------------------------------------
Command parameters:
file_spec
The specification of the log file. Any parts of the file-spec not supplied will be taken from the default specification 'SYS$DISK:[]DTIBLEND.LIS;0'.
--------------------------------------------------------------------------------
DESCRIPTION:
The LIST command specifies the name of a file which will contain a log of the DTIBLEND run.
The SHOW FILES command will display the name of the currently specified LIST file.
The following is a typical example of a file created by DTIBLEND :
============================== D T I B L E N D ================================ DTIBLEND log file created by TIM at 3-JUN-1988 15:04:24.96 using DTIBLEND Two files specified for blend: LSL$DTI:TOP1.DTI;0 LSL$DTI:BOTTOM.DTI;0 With a BORDER value of 3, all DTI z values are subject to change that lie within the rectangle defined by: SW corner: 0.000 196.000 NE corner: 200.000 204.000 In LSL$DTI:TOP1.DTI;0 this affects: Column 1 to column 101 and row 1 to row 3 In LSL$DTI:BOTTOM.DTI;0 this affects: Column 1 to column 101 and row 101 to row 99 IFF control is supplied by: LSL$DATA_ROOT:[USER.DATA]CONTROL.IFF;4 Heights expected in type 3 ACs IFF selections: Layers: 0-32767 Feature codes: 0-32767 ================================================================================ -------------------------------------------------------------------------------- IFF file #1 is LSL$DATA_ROOT:[USER.DATA]CONTROL.IFF;4 File has no IFF HI entry. Two BLEND files specified - calculating mean values for the common edge ---------------------------------------------------------------------------- Blending posts in DTI file LSL$DTI:TOP1.DTI;0 ---------------------------------------------------------------------------- Blending posts in DTI file LSL$DTI:BOTTOM.DTI;0
--------------------------------------------------------------------------------
Messages:
The following error messages are specific to the LIST command:
*** WARNING *** You must specify a file-spec argument to the LIST command *** ERROR *** You must specify a file-spec argument to the LIST command *** ERROR *** Unable to interpret input file-spec
--------------------------------------------------------------------------------
Example:
DTIBLEND>LIST JEMIMA.LIS
DTIBLEND>
--------------------------------------------------------------------------------
NULL
Specifies the null value used in the input DTI file for which no calculated value is available. This null value overrides the DTILIB default null value for the DTI data-type.
--------------------------------------------------------------------------------
FORMAT: NULL null_value
--------------------------------------------------------------------------------
Command parameters:
null_value
The null value to be detected. This must lie within a range appropriate to the input DTI file data type:
+-----------+-----------+--------------------+ | Minimum | Maximum | DTI data type | +-----------+-----------+--------------------+ | 0 | 255 | UNSIGNED BYTE | | -32768 | 32767 | WORD INTEGER | | -2E31 | 2E31-1 | LONG INTEGER | | -1.0E38 | 1.0E38 | REAL*4 | +-----------+-----------+--------------------+
By default the DTILIB the DTILIB default null value for the DTI data-type is used.
--------------------------------------------------------------------------------
DESCRIPTION:
Specifies the null value used in the input DTI file for which no calculated value is available. This null value overrides the DTILIB default null value for the DTI data-type.
The null value can only be set after a DTI file has been input using the FILEIN command, as the range of valid null values depends on the data type of the file.
--------------------------------------------------------------------------------
Messages:
The following messages are specific to the NULL command:
*** WARNING *** null value out of range for a byte type DTI file
*** WARNING *** null value out of range for a word type DTI file
*** WARNING *** null value out of range for a longword type DTI file
*** WARNING *** null value out of range for a real type DTI file
--------------------------------------------------------------------------------
Examples:
DTIBLEND> NULL 0<CR>
DTIBLEND>
--------------------------------------------------------------------------------
PAUSE
Pauses DTIBLEND execution.
--------------------------------------------------------------------------------
FORMAT: PAUSE
--------------------------------------------------------------------------------
Command parameters: None.
--------------------------------------------------------------------------------
DESCRIPTION:
Pauses DTIBLEND 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:
DTIBLEND> PAUSE<CR>
--------------------------------------------------------------------------------
Quit from DTIBLEND.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
The QUIT command causes DTIBLEND to exit immediately, closing the input
file and closing and deleting any files already created for output.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
DTIBLEND> 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
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Specifies that a ROVER command file is to be created for each of the DTI
files created (or modified in-situ) by the edge blend process.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Specifies that a ROVER command file is to be created for each of the DTI
files created (or modified in-situ) by the edge blend process. These ROVER
guidance files receive ROVER commands indicating the positions of DTI posts
which have been altered by the blend process by more then the threshold value.
ROVER commands are also generated to indicate the position of blend profiles
which could not be processed because they contained a null value at one or at
both ends of the profile.
The ROVER command does not take a file-spec argument. This is because
when two BLEND commands are used, (in the case of blending the DTI files on both
sides of the adjoining edge), two ROVER files are needed, one for each output
DTI file.
The ROVER files are instead given file specifications of the
form: LSL$ROVERCMD:'blend-file-name'.RCM;0'.
In addition to receiving the name of the DTI file to which it relates
the ROVER file is also given a standard header containing information
about the DTIBLEND run which created it. This header is of the form:
The ROVER command must be issued before the GO command.
--------------------------------------------------------------------------------
The following messages are specific to the ROVER command:
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Resets all IFF feature selections made with the SELECT and DESELECT
commands.
--------------------------------------------------------------------------------
FORMAT: SELECT ALL
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
This command resets all IFF feature input selections. If features
are subsequently selected using the other SELECT commands then all features
are first implicitly deselected.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
DTIBLEND>SELECT ALL
--------------------------------------------------------------------------------
Selects IFF features with the specified feature codes for use as control
for the blend process.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
feature-code
An IFF feature code which must lie in the range 0 to 32767. Multiple
feature codes may be specified separated by commas or spaces. Ranges of feature
codes may be specified by separating the range start and stop values by a
colon, e.g. SELECT FC 2:6 will result in the selection of feature
codes 2,3,4,5 and 6.
If an FRT file has been read into DTIBLEND any valid feature code group
names may be used as arguments to the SELECT FC command.
--------------------------------------------------------------------------------
The SELECT FC command complements the DESELECT FC command. SELECT FC
enables the user to select any IFF features which have the specified feature
codes.
On program startup all FCs are selected for input. IFF features
which are not required for input must be specifically excluded using the
appropriate DESELECT FC and DESELECT LAYER commands. For example,
the command DESELECT FC 0:7 11:300 302:32767 will leave only features
with FCs 8,9,10, and 301 selected for input.
The first SELECT FC command has the effect of deselecting all FCs from
input except those explicitly specified as the arguments to the SELECT FC
command. Subsequent SELECT FC commands have the effect of adding the
specified FCs to the list of FCs selected for input.
All layers and FCs may be reselected for input by specifying the SELECT ALL
command.
--------------------------------------------------------------------------------
The following warning messages are specific to the SELECT
FC command:
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Selects IFF features which lie within the specified layers for use
as control for the blend process.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
layer
An IFF layer number must lie in the range 0 to 32767. Multiple
layers may be specified separated by commas or spaces. Ranges of layers
may be specified by separating the range start and stop values by a colon,
e.g. SELECT LAYER 2:6 will result in the selection of layers
2,3,4,5 and 6.
--------------------------------------------------------------------------------
The SELECT LAYER command complements the DESELECT LAYER command. SELECT
LAYER enables the user to select any IFF features which are contained within
the specified layers.
By default DTIBLEND will input all features within an IFF file,
regardless of the layer in which they lie.
On program startup all layers are selected for input. IFF features
which are not required for input must be specifically excluded using the
appropriate DESELECT FC and DESELECT LAYER commands. For example,
the command DESELECT LAYER 0:7 11:300 302:32767 will leave only features
which lie within layers 8,9,10, and 301 selected for input.
The first SELECT LAYER command has the effect of deselecting all
layers from input except those explicitly specified as the arguments to the
SELECT LAYER command. Subsequent SELECT LAYER commands have the effect of
adding the specified layers to the list of FCs selected for input.
All layers and FCs may be reselected for input by specifying the SELECT
ALL command.
--------------------------------------------------------------------------------
The following warning messages are specific to the SELECT
LAYER command:
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Shows current status of DTIBLEND defaults.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
subject
The subject that is to be displayed, chosen from:
--------------------------------------------------------------------------------
SHOW enables the user to examine the current status of the DTIBLEND
options and parameters.
--------------------------------------------------------------------------------
The following warning messages are specific to the SHOW command:
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Shows current status of the BORDER parameter.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
SHOW BORDER enables the user to examine the current status of the DTIBLEND
BORDER parameter.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Shows current status of DTIBLEND option settings.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
SHOW ENABLE enables the user to examine the current status of DTIBLEND
processing options that are set or unset using the ENABLE and DISABLE commands.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Shows current DTIBLEND input, output and listing files.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
SHOW FILES enables the user to examine the current status of DTIBLEND
input, output and listing files.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Shows current DTIBLEND null value selection.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
SHOW NULL enables the user to examine the current DTIBLEND null value
selection.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Shows current status of DTIBLEND layer and feature code input selections.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Shows current status of DTIBLEND layer and feature code input selections.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Shows current status of the THRESHOLD parameter.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
SHOW THRESHOLD enables the user to examine the current status of the DTIBLEND
THRESHOLD parameter.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
The SPAWN command enables you to create a subprocess while within
DTIBLEND.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
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 DTIBLEND. The command string cannot exceed 80 characters.
--------------------------------------------------------------------------------
The SPAWN command enables you to create a subprocess while within DTIBLEND.
When the subprocess terminates control is returned to DTIBLEND.
--------------------------------------------------------------------------------
The following warning messages are specific to the SPAWN command:
*** WARNING *** SPAWN requires a valid DCL command line
*** ERROR *** Unable to spawn command, returning to DTIBLEND
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Specifies the maximum change in DTI post height allowed in the blend
process before DTIBLEND outputs a message.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
difference
The maximum change in DTI post height allowed in the blend process
before DTIBLEND outputs a message.
--------------------------------------------------------------------------------
The value supplied for the THRESHOLD command (expressed in DTI file
height units) determines the maximum change in DTI post height allowed in the
blend process before DTIBLEND outputs a messages to SYS$OUTPUT (if DIAGNOSTICS
are enabled), to the optional listing file (see the LIST command) and to the
optional ROVER guidance file (see the ROVER command).
Unless the THRESHOLD command is used to set a threshold tolerance,
DTIBLEND will not apply any threshold change tests.
--------------------------------------------------------------------------------
The following warning messages are specific to the THRESHOLD command:
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Suspend processing for the specified number of seconds.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
seconds
The number of seconds for which DTIBLEND 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
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
This example illustrates the use of DTIBLEND for blending the edge of one
DTI file to the edge of another which is held fixed.
For the purposes of the example, the user has enabled diagnostic
message output by using the ENABLE DIAGNOSTICS command.
The BLEND command is then used to specify the DTI file that is to be
blended along the blend edge and a DTI file to receive the results of the blend
process. Notice that the user has specified filenames only as arguments
to the BLEND command. Missing parts of the file specifications are taken
from the default 'LSL$DTI:DTI.DTI;0'. This results in the file
LSL$DTI:LEFT.DTI;0 being opened readonly as the file which is to be blended,
and LSL$DTI:LEFT1.DTI;0 as the file to receive the results of blending
LSL$DTI:LEFT.DTI;0. As the readonly input file has a MIKE type
header, DTIBLEND must prompt for the coordinate offset of the south west
corner of the DTI file. The user has typed in the coordinates (0.0,0.0).
DTIBLEND copies both the header and the data from the readonly input DTI
file to the output DTI file LSL$DTI:LEFT1.DTI;0 in preparation for edge blend
processing. The input DTI file is then closed as no further reference is made
to it. The blend process will, from now onwards, refer to LSL$DTI:LEFT1.DTI;0
only.
The user has then specified a HOLD command. The file defined by the
file-spec argument to the BLEND command is opened for readonly input and will
act as the fixed Z value edge for the blend process. As the hold file also has
a MIKE type header, DTIBLEND prompts for the coordinate offset of the south
west corner of the file. The user has responded with the coordinates (200.0,
0.0). This means that looking at the HOLD and BLEND DTI file header reports
which DTIBLEND issues on opening a DTI file, the two DTI files
LSL$DTI:LEFT1.DTI;0 and LSL$DTI:RIGHT.DTI;0 lie side by side. The two files
share a common column of data which is column 101 in LSL$DTI:LEFT1.DTI
and column 1 in LSL$DTI:RIGHT.DTI;0.
The user has next specified that control for the blend process is to be
taken from the features in the IFF file LSL$IF:CONTROL.IFF;0. As the user
has specified no input feature selection with the SELECT and DESELECT commands
all features in the IFF file that lie within the blend zone will be read
and used as control for the blend process. IFF feature heights, where not
available from ZS or CB (Coordinate Block) Z coordinates, will by default
be taken from a type 3 AC (Ancillary Code) within the IFF feature.
The user has next specified that DTIBLEND is to generate a ROVER guidance
file which will contain ROVER editing commands to guide the user to any
posts within the output DTI file (LSL$DTI:LEFT1.DTI;0) which have been changed
by more than the specified threshold value, or which could not be changed
because of the presence of a null value.
The user has next specified the threshold value. Any changes that are
greater than this value will be reported and commands sent to the ROVER
guidance file.
The user has then issued a GO command and the edge blend begins.
After providing a blend option summary and opening the ROVER guidance
file, the IFF control file is opened and read.
Apart from detecting a null post at one end of row 2, DTIBLEND
successfully performs the blend. The IFF and DTI files are closed and DTIBLEND
exits. DCL symbol $STATUS is set to SS$_NORMAL, normal successful completion.
See dtiblendmsg.html generated from DTIBLENDMSG.RNO.
Press
DTIBLEND>
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:
DTIBLEND> @FLOW2<CR>
DTIBLEND> ENABLE DIAGNOSTICS
DTIBLEND> RETURN
DTIBLEND>
ROVER COMMAND
ROVER
FORMAT: ROVER
COMMAND PARAMETERS: None.
DESCRIPTION:
MESSAGE
MESSAGE ---------------------------------------------------------------------
MESSAGE
MESSAGE R O V E R C O M M A N D F I L E
MESSAGE
MESSAGE RCM file created by TIM at 3-JUN-1988 10:16:47.37 using DTIBLEND
MESSAGE
MESSAGE Two files specified for blend:
MESSAGE LSL$DTI:LEFT1.DTI;0
MESSAGE LSL$DTI:RIGHT1.DTI;0
MESSAGE
MESSAGE
MESSAGE The ROVER commands in this guidance file relate to changes made
MESSAGE to LSL$DTI:LEFT1.DTI;0
MESSAGE
MESSAGE These changes affect column 99 to column 101 and row
MESSAGE 1 to row 201
MESSAGE
MESSAGE ---------------------------------------------------------------------
MESSAGE
Messages:
*** ERROR *** Logical name LSL$ROVERCMD not set up
*** WARNING *** You cannot specify a file-spec argument to the ROVER command
File-spec argument ignored. DTIBLEND will construct
ROVER command file-specs based on the input DTI
filenames. For further details see the MATRIX
Reference Manual
Examples:
DTIBLEND> ROVER <CR>
DTIBLEND>
SELECT ALL
SELECT ALL
Command parameters: _None
DESCRIPTION:
Messages:
The following message is specific to the SELECT command.
*** ERROR *** Specifying command SELECT
Command qualifiers are ALL, FC or LAYER
Examples:
At this point all features are selected.
DTIBLEND> SELECT FC 7:10,56:78<CR>
Here only features with the specified feature codes are selected
DTIBLEND> SELECT FC 11:20<CR>
At this point the specified feature codes are added to the currently
selected features code, i.e. features with FC 7-20 and 56-78 are now selected.
DTIBLEND>
SELECT FC COMMAND
SELECT FC
FORMAT: SELECT FC feature-code[,...]
Command parameters:
DESCRIPTION:
Messages:
*** WARNING *** You must have read an FRT file to be able to use group names
*** WARNING *** No groups have been defined in the FRT
*** WARNING *** Illegal feature code 'integer'
*** WARNING *** Bad group name 'group-name'
Examples:
DTIBLEND> SELECT FC 6:9,WATER,126<CR>
DTIBLEND>
SELECT LAYER COMMAND
SELECT LAYER
FORMAT: SELECT LAYER layer[,...]
Command parameters:
DESCRIPTION:
Messages:
*** WARNING *** Too many layer arguments in one command
*** WARNING *** Illegal layer number 'integer'
Examples:
DTIBLEND> SELECT LAYER 21:29,126<CR>
DTIBLEND>
SHOW COMMAND
SHOW
FORMAT: SHOW subject
Command parameters:
BORDER ENABLE FILES NULL SELECTIONS THRESHOLD
DESCRIPTION:
Messages:
*** ERROR *** Specifying command SHOW
Available SHOW command qualifiers are:
BORDER ENABLE FILES NULL SELECTIONS THRESHOLD
Examples:
_$ DTIBLEND<CR>
MATRIX module DTIBLEND of 18:08:43 26-FEB-88
DTIBLEND> SHOW BORDER<CR>
Blend border width ......................................... 3
DTIBLEND> QUIT<CR>
ELAPSED: 0 00:01:25.42 CPU: 0:00:01.30 BUFIO: 12 DIRIO: 10 FAULTS: 187
_$
SHOW BORDER COMMAND
SHOW BORDER
FORMAT: SHOW BORDER
Command parameters: None.
DESCRIPTION:
Messages: None.
Examples:
_$ DTIBLEND<CR>
MATRIX module DTIBLEND of 18:08:43 26-JAN-89
DTIBLEND> SHOW BORDER<CR>
Blend border width ......................................... 3
DTIBLEND> QUIT<CR>
ELAPSED: 0 00:01:25.42 CPU: 0:00:01.30 BUFIO: 12 DIRIO: 10 FAULTS: 187
_$
SHOW ENABLE COMMAND
SHOW ENABLE
FORMAT: SHOW ENABLE
Command parameters: None.
DESCRIPTION:
Messages: None.
Examples:
_$ DTIBLEND<CR>
MATRIX module DTIBLEND of 18:08:43 26-JAN-89
DTIBLEND> SHOW ENABLE<CR>
DIAGNOSTICS .................................................. Off
DIVIDEBY ..................................................... Off
INTEGER_HEIGHT ............................................... Off
(Incoming IFF heights expected in type 3 AC entries)
IN_SITU ...................................................... Off
MULTIPLY .................................................... Off
PME .......................................................... Off
SMOOTH ....................................................... Off
TOFEET ....................................................... Off
TOMETRES ..................................................... Off
DTIBLEND>
SHOW FILES COMMAND
SHOW FILES
FORMAT: SHOW FILES
Command parameters: None.
DESCRIPTION:
Messages: None.
Examples:
_$ DTIBLEND<CR>
MATRIX module DTIBLEND of 19:41:50 8-FEB-89
DTIBLEND> SHOW FILES<CR>
BLEND file:
Not yet specified
HOLD file:
None specified
Output DTI file:
Not yet specified
IFF files:
Not yet specified
DTIBLEND> QUIT<CR>
ELAPSED: 0 00:01:25.42 CPU: 0:00:01.30 BUFIO: 12 DIRIO: 10 FAULTS: 187
_$
SHOW NULL COMMAND
SHOW NULL
FORMAT: SHOW NULL
Command parameters: None.
DESCRIPTION:
Messages: None.
Examples:
_$ DTIBLEND<CR>
MATRIX module DTIBLEND of 19:41:50 8-FEB-89
DTIBLEND> SHOW NULL<CR>
Null value .................................................DTILIB default
DTIBLEND> QUIT<CR>
ELAPSED: 0 00:01:25.42 CPU: 0:00:01.30 BUFIO: 12 DIRIO: 10 FAULTS: 187
_$
SHOW SELECTIONS COMMAND
SHOW SELECTIONS
FORMAT: SHOW SELECTIONS
Command parameters: None.
DESCRIPTION:
Messages: None.
Examples:
_$ DTIBLEND<CR>
MATRIX module DTIBLEND of 13:53:27 3-FEB-89
DTIBLEND> SHOW SELECTIONS<CR>
Feature codes selected for input:
0-32767
Layers selected for input:
0-32767
DTIBLEND>
SHOW THRESHOLD COMMAND
SHOW THRESHOLD
FORMAT: SHOW THRESHOLD
Command parameters: None.
DESCRIPTION:
Messages: None.
Examples:
_$ DTIBLEND<CR>
MATRIX module DTIBLEND of 18:08:43 26-JAN-89
DTIBLEND> SHOW THRESHOLD<CR>
Threshold change value for messages ........................Unset
DTIBLEND> QUIT<CR>
ELAPSED: 0 00:01:25.42 CPU: 0:00:01.30 BUFIO: 12 DIRIO: 10 FAULTS: 187
_$
SPAWN COMMAND
SPAWN
FORMAT: SPAWN command-line
Command parameters:
DESCRIPTION:
Messages:
Examples:
DTIBLEND> SPAWN DIRECTORY *_.DTI;*<CR>
Directory DUA3:[EXPERIMENT3.DTI]
HUMUS.DTI;1 7/8 18-Oct-1987 17:07 [LSL,TIM]
INFILTRATION.DTI;1 8/8 18-Oct-1987 07:56 [LSL,TIM]
SOILS.DTI;2 7/8 18-Oct-1987 17:17 [LSL,TIM]
Total of 3 files, 22/24 blocks.
DTIBLEND>
THRESHOLD COMMAND
THRESHOLD
FORMAT: THRESHOLD difference
Command parameters:
Description:
Messages:
*** WARNING *** You must specify a floating point argument to the THRESHOLD command
For example THRESHOLD 4.2
*** ERROR *** Invalid THRESHOLD value.
The THRESHOLD argument must be positive
Examples:
DTIBLEND> THRESHOLD -8.3<CR>
*** ERROR *** Invalid THRESHOLD value.
The THRESHOLD argument must be positive
DTIBLEND> BORDER 5<CR>
DTIBLEND>
WAIT COMMAND
WAIT
FORMAT: WAIT seconds
Command parameters:
DESCRIPTION:
Messages:
Examples:
DTIBLEND> WAIT 4<CR>
DTIBLEND>
EXAMPLES
EXAMPLES
$ DTIBLEND<CR>
DTMCREATE module DTIBLEND of 13:43:42 3-JUN-88
DTIBLEND> ENABLE DIAGNOSTICS<CR>
DTIBLEND> BLEND LEFT LEFT1<CR>
Please enter the coordinates of the bottom left-hand corner
of LSL$DTI:LEFT.DTI;0
0.0 0.0 <CR>
File : LSL$DTI:LEFT.DTI;0
Header : MIKE Data: WORD
Units are Metres
Matrix Coverage SW: 0.00 0.00 NE: 200.00 400.00
Matrix Interval E: 2.00 N: 2.00
Value Range : 110 to 418
File : LSL$DTI:LEFT1.DTI;0
Header : MIKE Data: WORD
Units are Metres
Matrix Coverage SW: 0.00 0.00 NE: 200.00 400.00
Matrix Interval E: 2.00 N: 2.00
Value Range : 110 to 418
DTIBLEND> HOLD RIGHT<CR>
Please enter the coordinates of the bottom left-hand corner
of LSL$DTI:RIGHT.DTI;0
200.0 0.0<CR>
File : LSL$DTI:RIGHT.DTI;0
Header : MIKE Data: WORD
Units are Metres
Matrix Coverage SW: 200.00 0.00 NE: 400.00 400.00
Matrix Interval E: 2.00 N: 2.00
Value Range : 97 to 468
DTIBLEND> IFF CONTROL.IFF<CR>
IFF file LSL$DATA_ROOT:[USER.DATA]CONTROL.IFF;4 selected for read
DTIBLEND> ROVER<CR>
DTIBLEND> THRESHOLD 2<CR>
DTIBLEND> GO<CR>
--------------- B L E N D O P T I O N S S U M M A R Y ----------
LSL$DTI:RIGHT.DTI;0 is a HOLD file.
The blend zone therefore lies entirely within the BLEND
file LSL$DTI:LEFT1.DTI;0
Using a BORDER value of 3, the blend zone lies between 196.000
and 200.000 in X and 0.000 and 400.000 in Y, i.e. column 99 to
column 101 and row 1 to row 201
%DTIBLEND-I-RCMOPEN, ROVER guidance file LSL$ROVERCMD:LEFT1.RCM;0 opened for write
%LSLLIB-I-IFFOPENED, LSL$DATA_ROOT:[USER.DATA]CONTROL.IFF;4 opened for read
%DTIBLEND-I-NOIFFHI, file has no IFF HI entry
Reading IFF control file LSL$DATA_ROOT:[USER.DATA]CONTROL.IFF;4
----------------------------------------------------------------------------
Blending posts in DTI file LSL$DTI:LEFT1.DTI;0
Null value detected at end of blend profile
No blend will be performed on row 2
ELAPSED: 0 00:04:22.66 CPU: 0:00:50.63 BUFIO: 24 DIRIO: 3151 FAULTS: 358