Copyright (C) 1989 Laser-Scan Ltd Science Park, Milton Road, Cambridge, England CB4 4FY tel: (0223) 420414 Document "PROFILE Reference" Category "Reference" Document Issue 2.0 D R Catlow 09-March-1989 1.1 F J Brown 30-November-1988 1.0 D R Catlow 13-May-1988
--------------------------------------------------------------------------------
MODULE PROFILE
--------------------------------------------------------------------------------
PROFILE is a utility to construct a series of path profiles lines through a Digital Terrain Model (DTM). Typically, the origin of the profiles will be a base station, and the profile data will be used for radio frequency propagation analysis. Profiles are constructed either radially around the base station, or between each DTM node and the base station. Options are provided in the program to restrict profile generation to a rectangular area of interest or to a sector of interest.
Input is a DTM, and optionally a series of clutter grid files, held in a Laser Scan Digital Terrain Image (DTI) format. Output is to a Laser Scan vector Internal Feature Format (IFF) file.
Each profile is written to the IFF file as a separate feature. The bearing and length of the profile is stored in the IFF file, along with the x y and z coordinates of the profile sample points. Additionally a clutter index value is stored for each sample point.
--------------------------------------------------------------------------------
$ PROFILE
--------------------------------------------------------------------------------
PROFILE is an interactive, command driven program. Command input is expected when the following prompt is issued:
PROFILE >
Commands may be issued at the terminal in response to the prompt, or in the case of a number of commands, by pressing a button on a digitising puck.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
PROFILE constructs a series of path profiles lines through a Digital Terrain Model (DTM).
The input to the program is a DTM, and optionally a series of clutter grid files, held in a Laser Scan Digital Terrain Image (DTI) format. Utilities to convert data held in other formats (eg. DTED, NTF) to a DTI format are available.
The DTM defines the elevation of the terrain surface. It consists of a set of elevation values recorded on a regular rectangular grid. The DTM is specified using the FILEIN command.
A clutter grid file contains height information relating to surface features such as buildings, vegetation or water. Information on each group of features must be contained in a separate file. The specification for a clutter file is given by means of the BUILDING, VEGETATION and WATER commands. The use of a clutter file is optional.
Output from the program is to a Laser Scan vector Internal Feature Format (IFF) file. Each profile is written to the IFF file as a separate feature. The bearing and length of the profile is held, along with the x y and z coordinates of the profile sample points. Additionally a clutter index value is stored for each profile sample point.
Typically, the origin of the profiles will be a base station. The profiles are constructed either radially around the base station position, or between each DTM node and the base station. Options are provided in the program to restrict profile generation to a rectangular area of interest or to a sector of interest.
--------------------------------------------------------------------------------
The Map Descriptor entry of the IFF file is taken from any projection details held in the header of the DTI file.
Each profile is output to the IFF file as a separate feature. Attributes associated with a profile are held either in an Ancillary Code (AC) entry, or on a per point basis with the coordinate information in a Coordinate Block (CB) entry. The bearing and length of the profile is stored, along with the x y and z coordinates of the profile sample points. Additionally a clutter index value is stored for each sample point.
A profile feature will have the following structure in the IFF file:
NF FS AC AC CB EF
The NF indicates the start of a feature, and defines the feature serial number (FSN). The FSN is incremented by 1 for each new feature up to a maximum value of 65535, at which point the FSN is reset to 1. Depending on the number of features in the file, the FSN may therefore be used to uniquely identify a profile.
The Feature Status (FS) entry holds the feature code of a profile. PROFILE assigns the same feature code to all features in the IFF file. By default features are given a value of 1. An alternative feature code may be specified using the command SET FC.
The first Ancillary Code (AC) entry in a feature, holds the length of the profile. This is the distance of the profile end point from the profile origin (base station). The distance is stored in metres as a real (floating point) number. By default, PROFILE uses an AC type 1002 to hold the distance value. An alternative AC type may be specified using the command SET AC_LENGTH.
The second Ancillary Code (AC) entry in a feature, holds the bearing of the profile from the profile origin (base station). The bearing is specified in degrees from north eg. 90.0 indicates a bearing that is due east. A real (floating point) value is held in the AC. By default PROFILE uses an AC type 1001 to hold the bearing value. An alternative AC type may be specified using the command SET AC_BEARING.
The Coordinate Block (CB) entry stores coordinate and attribute information
associated with profile sample points.
The x and y coordinates are held as real (floating point) values in the
first two columns of the coordinate block. They define the position of the
sample points in metres, relative to the SW corner of the DTM rectangular area
of interest. The true (absolute) position of a sample point may be determined
by adding the x and y local origin values held in the IFF map descriptor (MD)
record to the CB coordinate values.
The height (z value) of a sample point is held as a real (floating point)
value in column 3 of the coordinate block. The z value is the
height of the terrain surface (above sea level), plus the height of any
clutter feature present at the sample point.
Column 4 of the coordinate block holds a clutter index, and is used to
determine the type of clutter present at the sample point. By default, PROFILE
assigns an attribute code of 1003 to the clutter index attribute code.
An alternative attribute code may be specified using the command SET
AC_CLUTTER. The clutter index value should be interpreted as a longword
integer number, and has the following meaning:
Clutter Index 0 No clutter feature is present at the sample
point. In this case the Z value represents a
terrain surface height derived from the DTM.
Clutter Index 1 A building is present at the sample point.
Clutter Index 2 A wood or some other type of significant
vegetation is present at the sample point.
Clutter Index 3 A water feature is present at the sample
point.
Depending on the distance of the profile, and the rate of sampling along the profile, a feature may contain multiple CB entries. Coordinate data for a maximum of 200 sample points are stored in a single coordinate block.
Note that in order to reduce the amount of space occupied by a coordinate block, the coordinate block is compressed by PROFILE before it is written to the output IFF file. This means that if either the Z value or the clutter index value is constant for all the points in the CB, it will be written as a fixed attribute, rather than as an attribute on a per point basis.
The End of Feature (EF) entry indicates the end of an IFF feature ie. the end of a profile.
--------------------------------------------------------------------------------
A rectangular area of interest is defined using the WINDOW command. The coordinates of the SW (bottom left) corner and NE (top right) corner of the rectangle are required, and may be entered via the terminal keyboard in the current units of measurement, or from the digitising table. The window coordinates are converted to the nearest DTM column and row positions on input. Using this command for example, calculation of profiles may be restricted to a 10km square area.
In addition to a rectangular area, it is also possible to define a sector of interest. A sector of interest is specified using the SECTOR command, and is defined in terms of a sector radius, and optionally 2 bearing values that define the angular limits of the sector. The origin of the sector is the profile origin.
If no bearing values are supplied a 360 degrees scan around the base station position is carried out. The sector radius determines the outer limit of the circular scan.
The order in which the bearing values are specified determines whether the area of interest is inclusive or exclusive to the angular limits. A clockwise convention is used. For example if the first bearing is defined as 40 degrees and the second bearing as 80 degrees, the angular width of the sector of interest will be 40 degrees rather than 320 degrees. If the values are supplied in the order 80 and 40 degrees, the angular width of the sector of interest will be 320 degrees.
Note that a sector of interest will be clipped to any rectangular area of interest that may have been defined (see Figure 1).
--------------------------------------------------------------------------------
A sample interval that is constant along the length of a profile may be specified using the command SAMPLE_INTERVAL. Alternatively, a sample interval that varies with the distance of the profile sample point from the profile origin (base station) may be selected, using one or more BAND commands.
The BAND command is used to specify the width of a concentric band surrounding the base station, and the sampling rate within the band. Up to 20 bands may be specified. Band 1 is the band immediately surrounding the profile origin; band 2 surrounds band 1 and so on (Figure 2). The bands must be defined in ascending sequence. Typically this mechanism is used to sample at a lower rate in the immediate vicinity of a base station, and at a higher rate towards the edge of the area of interest.
If the band width is not exactly divisible by the band sample interval, the program will ensure that a sample point is generated exactly on the outer edge of the band. If the total width of all the bands is less than the sector distance, or is insufficient to extend to the corners of the rectangular area of interest, the width of the highest band will be extended as necessary.
--------------------------------------------------------------------------------
If one or more clutter grid files have been specified, any clutter height value at the sample point is added to the terrain height. If the sample point does not lie exactly on a grid node, the height value associated with the nearest node in the clutter grid file is used.
A clutter value indicating whether the terrain height has been adjusted using a building, vegetation or water value, is stored in the IFF file for each sample point.
If a value of -1 is found in the clutter matrix, it indicates to the program that no feature is present at the sample point. In this situation a clutter index of 0 will be recorded for the sample point in the coordinate block.
Note that a warning message will be generated if a height for a sample point is recorded in more than one clutter file. In this situation the user will be informed which clutter value has been used.
--------------------------------------------------------------------------------
If the value supplied with the PROFILE_INTERVAL command is greater than 0, then profiles are constructed radially around the base station. The angular separation (ie. the profile interval) is specified by means of the command parameter. The SECTOR command may be used in conjunction with this command to control the number of profiles that are constructed. The radial profiles are constructed in clockwise order.
If the profile interval is specified as 0, then PROFILE will construct a path profile between the base station and each DTM node that lies within the rectangular or sector areas of interest. For example if a rectangular area of interest of 100 columns and 100 rows has been defined, then a total of 9999 separate profiles will be generated. (A profile between the base station and the base station is not constructed.) Note that this is the default action of the program.
--------------------------------------------------------------------------------
The Laser Scan Table Monitor Utility controls reading from the digitising table. It must be set up on your system if PROFILE is to take input from the digitising table. The automatic initialisation of the table monitor utility is optionally invoked by means of the logical name:
LSL$AUTO_ENABLE_TABLE
If the logical name is defined as "1", initialisation should be carried
out on program startup. If the logical name is absent, or is defined to anything
other than "1", the table monitor system is not automatically invoked.
To cause automatic initialisation of the table monitor utility on program
startup issue the following command before running PROFILE:
ASSIGN 1 LSL$AUTO_ENABLE_TABLE
After program startup initialisation of the table monitor system can be invoked by the command ENABLE TABLE and subsequently halted by the command DISABLE TABLE.
If table monitor initialisation fails, either at program startup or after an ENABLE TABLE command, then the message:
*** WARNING *** Unable to initialise the table monitor PROFILE will assume no table is availablewill be output before the prompt PROFILE> is displayed on the terminal. If the event of failure, input from the digitising table or puck button is not possible, and the program will accept commands only from the terminal.
Table initialisation failure is generally because no Table Monitor is currently active, or because the Table Monitor is locked by another user. If neither of these reasons appear to apply, you should consult the TABLIB Reference Manual, or seek guidance from your system manager.
A map is registered to the DTM using the command SETUP MAP. Before giving this command you should have first selected the input DTM, and have securely attached the source document to the digitising table.
Registration is performed by digitising 4 registration points. The registration points represent 4 points on the map that correspond to the 4 corners of the DTM. The points are digitised in the order top left (NW), bottom left (SW), bottom right (SE) and top right (NE) using any button on the table puck. A point is digitised in response to an explanatory prompt on the terminal.
An error message is generated if any of the angles of the digitised rectangle are less than 88 degrees, or greater than 92 degrees (ie. if the corner points of the rectangle are more than 2 degrees off rectangular). In this situation you will be asked to redigitise the 4 registration points.
Once a map has been positioned on the table, it is possible to define an area of interest in the DTM by giving the WINDOW command and digitising two points on the map. It is also possible to digitise the position of the base station (profile origin), a sector radius and angular limits, and a profile end point.
The buttons on the table puck have the following meanings.
+---------------------------------------------------+ | | | | | | 0 | 1 | 2 | 3 | | | | | | | | | | | | POSITION | WINDOW | SECTOR | POINT | | | | | | |------------|------------|------------|------------| | 4 | 5 | 6 | 7 | | | | | | | | | | | | undefined | undefined | undefined | undefined | | | | | | |------------|------------|------------|------------| | 8 | 9 | A | B | | | | | | | | | | | | undefined | undefined | undefined | undefined | | | | | | |------------|------------|------------|------------| | C | D | E | F | | | | | | | | | | | | undefined | undefined | undefined | ABANDON | | | | | | |____________|____________|____________|____________|
BUTTON 0 is used to define the position of the base station ie. the profile origin point. A single point inside the map area should be digitised.
BUTTON 1 is used to give a WINDOW command. The button may be pressed either inside or outside the map area. After pressing the button, you will be asked to digitise 2 points inside the map area, defining the SW corner (bottom left) and NE corner (top right) of a rectangular area of interest.
BUTTON 2 is used to give a SECTOR command. A single point inside
the map area should be digitised. The coordinates of this point are used to
calculate the radius of the sector (ie. the distance from the profile
origin to the sector arc). The position of the base station must have been
previously defined.
In addition you will be asked to digitise two points that define the
angular limits of the sector. The points are digitised in response to
prompts on the terminal. Any button on the table puck may be used. If
Button F is used to abandon the command, the program will assume a
360 degrees scan around the base station is required.
BUTTON 3 is used to define the position of a profile end point. A
single point inside the map area should be digitised. The program will
immediately calculate the profile, and write the coordinate and attribute
values to the output IFF file. Any number of profiles may be defined in this
way.
The position of the base station, a sampling interval and the name of an
output IFF file must have been defined before the command is issued for the
first time.
BUTTONS 4 to E are currently undefined.
BUTTON F may be used to abandon map set up, window or sector definition. When the button is pressed, control is returned to the terminal and the prompt PROFILE> is displayed.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
_@
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 will be taken from the default specification 'SYS$DISK:[].COM;0'.
--------------------------------------------------------------------------------
DESCRIPTION:
PROFILE offers the facility of command input from an indirect command file. The '@' character preceding a file-spec will cause PROFILE 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 PROFILE will echo all commands read from an indirect command file.
Typically the commands contained in the file will define frequently used values, such as default BAND and SECTOR parameters.
--------------------------------------------------------------------------------
Messages:
The following messages are specific to the _@ command:
*** ERROR *** Specifying command @ Command file specification is missing *** ERROR *** Specifying command @ Unable to open indirect command file 'file-spec' *** ERROR *** Specifying command @ Nested command files not supported
--------------------------------------------------------------------------------
Examples:
PROFILE> @DEFAULT_BANDS
PROFILE> BAND 1 500.0 50.0
PROFILE> BAND 2 1000.0 100.0
PROFILE> BAND 3 2000.0 200.0
PROFILE> RETURN
Returning to terminal input
PROFILE>
--------------------------------------------------------------------------------
_!
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:
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:
PROFILE> FILEIN TEST !open the file<CR>
PROFILE> !Define a window<CR>
PROFILE> WINDOW 1 1 10 10<CR>
PROFILE>
--------------------------------------------------------------------------------
BAND
BAND is used to define the width of a concentric band surrounding the base station (profile origin), and the rate at which the DTM is sampled within the band. A series of BAND commands may be used to specify a sample interval along a profile, that varies with distance from the profile origin.
--------------------------------------------------------------------------------
FORMAT: BAND band_number width sample_interval
--------------------------------------------------------------------------------
Command parameters:
band_number
Band_number is the band identifier. The band immediately surrounding the base station is band 1; band 2 surrounds band 1 and so on. An integer value in the range 1 to 20 is required.
width
Width defines the width of the band. The width is specified in metres, as a real (floating point) value.
sample_interval
Sample_interval defines the rate at which the DTM is sampled within the band. The sample interval is specified in metres as a real (floating point) value.
--------------------------------------------------------------------------------
DESCRIPTION:
BAND is used to define the rate at which the DTM is sampled along a
profile. Up to 20 different bands may be specified, each with a different width
and sample interval. This allows a profile to be generated using a sample
interval that varies with distance from the base station. It is generally used
to sample the DTM at a lower rate in the immediate vicinity of the
base station, and at a higher rate towards the edge of the area of interest.
If BAND is specified, any constant sample interval defined using the
SAMPLE_INTERVAL command is ignored.
It is a requirement of the program that bands are defined in ascending sequence. For example, if an attempt to define parameters for band 3 is made, before bands 1 or 2 have been defined, an error message will be generated.
The command SHOW PARAMETERS may be used to output details of band parameters to the terminal.
A sample interval or a series of sample intervals must be specified using the SAMPLE_INTERVAL or BAND commands, before the command GO is given to generate the profiles.
--------------------------------------------------------------------------------
Messages:
The following error messages are specific to the BAND command:
*** ERROR *** Specifying command BAND Command requires 3 arguments *** ERROR *** Specifying command BAND Band number must be in the range 1 to 20 *** ERROR *** Specifying command BAND Parameters for lower bandmust be defined first *** ERROR *** Specifying command BAND Band width must be specified as a positive real number *** ERROR *** Specifying command BAND Sample interval must be specified as a positive real number
--------------------------------------------------------------------------------
Example:
PROFILE>BAND 1 1000.5 50.0<CR>
PROFILE>BAND 2 2500.0 100.0<CR>
PROFILE>
--------------------------------------------------------------------------------
BUILDING
Selects and opens a DTI file that contains clutter information relating to buildings.
--------------------------------------------------------------------------------
FORMAT: BUILDING file-spec
--------------------------------------------------------------------------------
Command parameters:
file-spec
The file specification for the input grid file containing clutter
information relating to buildings.
Any part of the file specification not supplied is taken from the default
'LSL$DTI:DTI.DTI', although if no file-spec is supplied, you will be asked to
supply one in response to the prompt Input DTI filename>
--------------------------------------------------------------------------------
DESCRIPTION:
This command opens and maps into memory a DTI file, containing height information relating to buildings. Details derived from the header of the file are displayed on the terminal to confirm that the file has been successfully opened.
A clutter file may only be specified, after a DTM has been selected using the FILEIN command.
If the clutter file contains a DTI Projection Record, the position of the SW corner of the grid may be determined. This enables the clutter data to be correctly positioned with respect to the DTM. If the origin is unset or the file contains no projection record, the SW corner of the clutter file is assumed to register to the SW corner of the DTM.
--------------------------------------------------------------------------------
Messages:
The following error messages are specific to the BUILDING command:
*** ERROR *** Specifying command BUILDING Input DTI filename is missing *** ERROR *** Specifying command BUILDING The input DTM must be specified first
--------------------------------------------------------------------------------
Example:
PROFILE>BUILDING TEST_BUILDING
LSL$DTI:TEST_BUILDING.DTI Header: MIKE Data: WORD Units are Metres Matrix coverage SW: 1 1 NE: 301 251 Matrix Window SW: 1 1 NE: 301 251 Matrix Interval E: 1 N: 1 Value Range : 0 to 25
--------------------------------------------------------------------------------
DISABLE ABSOLUTE
Disables the use of absolute coordinates.
--------------------------------------------------------------------------------
FORMAT: DISABLE ABSOLUTE
--------------------------------------------------------------------------------
Command parameters: None.
--------------------------------------------------------------------------------
DESCRIPTION:
DISABLE ABSOLUTE disables the use of absolute coordinates, and is
therefore used to cancel an ENABLE ABSOLUTE command.
DISABLE ABSOLUTE causes the program to work in relative coordinates. The
coordinates displayed in a SHOW FILEIN or SHOW PARAMETERS output will be
relative, and those entered in a WINDOW, POINT, or POSITION command are
expected also to be relative to the SW corner of the data.
By default coordinates are entered and displayed in absolute form.
--------------------------------------------------------------------------------
Messages:
The following error message is specific to the DISABLE command:
*** ERROR *** Specifying command DISABLE Valid command qualifiers are ABSOLUTE, DIAGNOSTICS or TABLE
--------------------------------------------------------------------------------
Examples:
PROFILE> DISABLE ABSOLUTE<CR>
PROFILE>
--------------------------------------------------------------------------------
DISABLE DIAGNOSTICS
Disables the output of diagnostics messages.
--------------------------------------------------------------------------------
FORMAT: DISABLE DIAGNOSTICS
--------------------------------------------------------------------------------
Command parameters: None.
--------------------------------------------------------------------------------
DESCRIPTION:
DISABLE DIAGNOSTICS disables the output of diagnostic messages, and is
therefore used to cancel an ENABLE DIAGNOSTICS command.
By default diagnostic printout, which is sent to SYS$OUTPUT, is enabled.
--------------------------------------------------------------------------------
Messages:
The following error message is specific to the DISABLE command:
*** ERROR *** Specifying command DISABLE Valid command qualifiers are ABSOLUTE, DIAGNOSTICS or TABLE
--------------------------------------------------------------------------------
Examples:
PROFILE> DISABLE DIAGNOSTICS<CR>
PROFILE>
--------------------------------------------------------------------------------
DISABLE TABLE
Disables the use of a digitising table.
--------------------------------------------------------------------------------
FORMAT: DISABLE TABLE
--------------------------------------------------------------------------------
Command parameters: None.
--------------------------------------------------------------------------------
DESCRIPTION:
DISABLE TABLE disables the use of a digitising table, and is
therefore used to cancel an ENABLE TABLE command.
By default the use of a digitising table is determined on program startup
by the value assigned to the logical name LSL$AUTO_ENABLE_TABLE.
--------------------------------------------------------------------------------
Messages:
The following error message is specific to the DISABLE command:
*** ERROR *** Specifying command DISABLE Valid command qualifiers are ABSOLUTE, DIAGNOSTICS or TABLE
--------------------------------------------------------------------------------
Examples:
PROFILE> DISABLE TABLE<CR>
PROFILE>
--------------------------------------------------------------------------------
ENABLE ABSOLUTE
Causes the program to work in absolute coordinates.
--------------------------------------------------------------------------------
FORMAT: ENABLE ABSOLUTE
--------------------------------------------------------------------------------
Command parameters: None.
--------------------------------------------------------------------------------
DESCRIPTION:
ENABLE ABSOLUTE enables the use of absolute coordinates, and is
cancelled by a DISABLE ABSOLUTE command.
ENABLE ABSOLUTE causes the program to work in absolute coordinates. The
coordinates displayed in a SHOW FILEIN or SHOW PARAMETERS output will be
absolute, and those entered in a WINDOW, POINT, or POSITION command are
expected also to be absolute
By default coordinates are entered and displayed in absolute form.
--------------------------------------------------------------------------------
Messages:
The following error message is specific to the ENABLE command:
*** ERROR *** Specifying command ENABLE Valid command qualifiers are ABSOLUTE, DIAGNOSTICS or TABLE
--------------------------------------------------------------------------------
Examples:
PROFILE> ENABLE ABSOLUTE<CR>
PROFILE>
--------------------------------------------------------------------------------
ENABLE DIAGNOSTICS
Selects the output of diagnostic printout.
--------------------------------------------------------------------------------
FORMAT: ENABLE DIAGNOSTICS
--------------------------------------------------------------------------------
Command parameters: None.
--------------------------------------------------------------------------------
DESCRIPTION:
ENABLE DIAGNOSTICS selects output of diagnostic messages. The messages
are sent to SYS$OUTPUT.
The diagnostic printout consists of messages describing the process
being performed, the percentage complete, and the number of profiles
generated.
Note that if you are using a hardcopy terminal no percentage complete figures are generated.
By default diagnostic printout is selected, and may be turned off using the command DISABLE DIAGNOSTICS
--------------------------------------------------------------------------------
Messages:
The following error message is specific to the ENABLE command:
*** ERROR *** Specifying command ENABLE Valid command qualifiers are ABSOLUTE, DIAGNOSTICS or TABLE
--------------------------------------------------------------------------------
Examples:
PROFILE> ENABLE DIAGNOSTICS<CR>
PROFILE>
--------------------------------------------------------------------------------
ENABLE TABLE
Enables the use of a digitising table.
--------------------------------------------------------------------------------
FORMAT: ENABLE TABLE
--------------------------------------------------------------------------------
Command parameters: None.
--------------------------------------------------------------------------------
DESCRIPTION:
ENABLE TABLE allows the use of a digitising table. Its effect is cancelled
be the DISABLE TABLE command.
By default the use of a digitising table is determined on program startup
by the value assigned to the logical name LSL$AUTO_ENABLE_TABLE.
--------------------------------------------------------------------------------
Messages:
The following error message is specific to the ENABLE command:
*** ERROR *** Specifying command ENABLE Valid command qualifiers are ABSOLUTE, DIAGNOSTICS or TABLE
--------------------------------------------------------------------------------
Examples:
PROFILE> ENABLE TABLE<CR>
PROFILE>
--------------------------------------------------------------------------------
EXIT
Terminates the program.
--------------------------------------------------------------------------------
FORMAT: EXIT
--------------------------------------------------------------------------------
Command parameters: None.
--------------------------------------------------------------------------------
DESCRIPTION:
The EXIT command is used to exit from PROFILE.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
PROFILE>EXIT
$
--------------------------------------------------------------------------------
Selects and opens a DTI file that contains the terrain elevation data
to be used in profile generation.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
file-spec
The file specification for the input DTM.
--------------------------------------------------------------------------------
This command opens and maps into memory a DTI file, containing the terrain
elevation data to be used for profile generation. Details derived from the
header of the file are displayed on the terminal to confirm that the file has
been successfully opened.
On opening the DTM, a default area of interest covering the whole of the
DTM area is defined. A smaller area of interest may be specified using the
WINDOW command.
If the input file contains a DTI Projection Record, the absolute position
of the SW corner of the DTM is determined. If the file contains no
Projection Record, an origin of 0,0 is assumed, and therefore any coordinate
values represent DTM offset values.
The input DTM must be specified before the commands BUILDING, GO,
POSITION, SETUP MAP, VEGETATION, WATER and WINDOW.
--------------------------------------------------------------------------------
The following error message is specific to the FILEIN command:
--------------------------------------------------------------------------------
PROFILE>FILEIN TEST
--------------------------------------------------------------------------------
The command is used to create the profile features in the output IFF
file.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
GO is used to initiate the generation of the path profiles, and the
output of the profiles to the IFF file.
Before the command is given, the input DTM and output IFF file, the
position of the profile origin (base station), and
a sample interval using either the SAMPLE_INTERVAL or BAND
commands, must have been defined.
All other optional commands such as WINDOW, PROFILE_INTERVAL
and SECTOR should be first specified, if required.
If diagnostics are enabled, details on the progress of the processing
operation are output to the terminal. Successful completion of processing
is indicated by the display of the prompt PROFILE> on the terminal.
--------------------------------------------------------------------------------
The following error message is specific to the GO command:
--------------------------------------------------------------------------------
PROFILE>GO
--------------------------------------------------------------------------------
Invokes help on PROFILE commands.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
command
the command on which help is required
--------------------------------------------------------------------------------
A brief description is given of the function and format of the specified
command.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
PROFILE>HELP FILEIN
--------------------------------------------------------------------------------
Specifies the name of the output IFF file.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
file-spec
The file specification for the output IFF file.
--------------------------------------------------------------------------------
IFF specifies the name of the output IFF file. This is the file
which will contain the terrain profiles.
The commands SET FC and SET LAYER may be used to control the feature
code assigned to each profile feature, and define the layer in which the
features will be held. The SET AC_BEARING, SET AC_CLUTTER, and
SET AC_DISTANCE commands may be used to control the AC type used to hold
the profile bearing, a sample point clutter index, and the profile distance
value respectively.
An IFF file must be specified before the command GO is issued.
If the input DTM contains a DTI Projection Record, details from the record
are transferred to the Map Descriptor (MD) entry of the IFF file.
--------------------------------------------------------------------------------
The following message is specific to the IFF command:
--------------------------------------------------------------------------------
PROFILE>IFF TEST_PROFILES
--------------------------------------------------------------------------------
Defines the geographical position of a profile end point, and
writes the path profile data for a single profile to the output IFF
file.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
x_coordinate
The x coordinate position of the profile end point.
y_coordinate
The y coordinate position of the profile end point.
The format of the command parameters is controlled by the UNITS command.
--------------------------------------------------------------------------------
The POINT command is used to define the geographical position of a
profile end point. The point must lie within the geographical bounds of
the DTM, but may be outside any currently defined area of interest.
On giving the command the program will immediately calculate the profile,
and write the coordinate and attribute values to the IFF file. Any
number of profiles may be defined in this way.
If a digitising table is available, and a map has been registered to the
DTM using the SETUP MAP command, puck button 4 may be used to digitise the
position of a profile end point.
The position of the base station (profile origin), a sampling
interval and the name of an output IFF file must have been defined before
the POINT command is given for the first time.
--------------------------------------------------------------------------------
The following error messages are specific to the POINT command:
--------------------------------------------------------------------------------
PROFILE>POINT 4500000 85000
--------------------------------------------------------------------------------
Defines the geographical position of the base station. This is the
point from which all profiles are generated.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
x_coordinate
The x coordinate position of the base station.
y_coordinate
The y coordinate position of the base station.
The format of the command parameters is controlled by the UNITS command.
--------------------------------------------------------------------------------
The POSITION command is used to define the geographical position of the
base station. This is the point from which all profiles are constructed. The
base station must be located within the geographical bounds of the DTM.
It is not necessary for the base station to be positioned exactly on a DTM
node. If located between nodes, the terrain height at the profile origin
will be interpolated from the DTM.
The height of the terrain surface at the base station position is
displayed on the terminal after the POSITION command is given.
If a digitising table is available, and a map has been registered to the
DTM using the SETUP MAP command, puck button 0 may be used to digitise the
position of the base station.
The base station position must be defined before the GO command is
issued.
--------------------------------------------------------------------------------
The following error messages are specific to the POSITION command:
--------------------------------------------------------------------------------
PROFILE>POSITION 4500000 85000
--------------------------------------------------------------------------------
PROFILE_INTERVAL is used to define the angular separation of
radial profiles.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
angle
Angle is the angular separation of the radial profiles. Angle is specified
in degrees as a real (floating point) number. A value in the range 0 to 180 is
required.
--------------------------------------------------------------------------------
The command PROFILE_INTERVAL defines the angular separation of profiles
generated radially around the base station position.
In conjunction with the SECTOR command it determines the number of
profiles that are generated. For example, if a 360 degree area of interest is
defined, and the profile interval is 1 degree, 360 profiles will be generated
in the IFF file.
A profile interval of 0 may be specified. This causes the program to
construct a profile between every node in the DTM area of interest and the
base station. On program startup, the profile interval will be
set to 0.
The current profile interval value may be examined using the command
SHOW PARAMETERS.
--------------------------------------------------------------------------------
The following error messages are specific to the PROFILE_INTERVAL command:
--------------------------------------------------------------------------------
PROFILE>PROFILE_INTERVAL 15.0<CR>
--------------------------------------------------------------------------------
Cancels all previous BAND commands, causing the program to revert to
the use of a constant sample interval specified by means of the
SAMPLE_INTERVAL command.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Cancels all previous BAND commands, causing the program to revert to
the use of a constant sample interval specified by means of the
SAMPLE_INTERVAL command.
--------------------------------------------------------------------------------
The following message is specific to the RESET BAND command:
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Restores command input from an indirect command file to SYS$COMMAND.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Restores command input from an indirect command file to SYS$COMMAND.
A typical application is to use an indirect command file to set up a
number of run time defaults, and then return to input from the terminal for the
run specific commands. To do this, RETURN must be the last command in the
indirect command file.
A RETURN command is only valid if present in a command file.
--------------------------------------------------------------------------------
The following messages are specific to the RETURN command:
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
SAMPLE_INTERVAL is used to define a constant DTM sampling interval.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
sample_interval
Sample_interval is the rate at which the DTM is sampled when generating a
profile. The sample interval is specified in metres as
a positive real (floating point) number.
--------------------------------------------------------------------------------
The command SAMPLE_INTERVAL defines the rate at which the DTM is sampled
when generating a profile. It therefore defines the separation of
successive profile sample point coordinates.
The sample interval specified with this command is used for all profiles,
and is constant along the profile irrespective of the distance of the sample
point from the profile origin (base station). If a sample rate that varies
with distance from the profile origin (base station) is required, one or more
BAND commands should be used.
A sample interval or a series of sample intervals must be specified using
the SAMPLE_INTERVAL or BAND commands, before the command GO is given to
generate the terrain profiles.
--------------------------------------------------------------------------------
The following error messages are specific to the SAMPLE_INTERVAL command:
--------------------------------------------------------------------------------
PROFILE>SAMPLE_INTERVAL 10.5<CR>
--------------------------------------------------------------------------------
SECTOR is used to restrict profile calculation to a sector of
interest in the DTM. The sector is defined in terms of a sector radius,
and 2 sector bearings.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
radius
Radius is the distance from the base station (sector origin) to the
sector arc. A positive real (floating point) value is required.
bearing_1
Bearing_1 is the bearing of the first sector radius. A real (floating
point) value in the range 0 to 360 degrees is required.
bearing_2
Bearing_2 is the bearing of the first sector radius. A real (floating
point) value in the range 0 to 360 degrees is required.
--------------------------------------------------------------------------------
SECTOR is used to define a sector of interest in the DTM.
Profiles are only constructed between the profile origin (base station) and
DTM nodes that lie within the sector of interest.
The sector of interest is defined in terms of a sector radius,
and optionally 2 bearing values defining the angular limits of the sector.
If only a sector radius is supplied, a full circular scan around the
base station will be performed, and the bearing values will be set to 0 and
360 degrees.
The order in which the bearing values are specified determines whether the
area of interest is inclusive or exclusive to the angular limits. A clockwise
convention is used. For example if the first bearing is defined as 40 degrees
and the second bearing as 80 degrees, the angular width of the sector of
interest will be 40 degrees rather than 320 degrees. If the values are
supplied in the order 80 and 40 degrees, the angular width of the sector of
interest will be 320 degrees.
Note that a sector of interest will be clipped to any rectangular area
of interest that may have been defined.
--------------------------------------------------------------------------------
The following error messages are specific to the SECTOR command:
--------------------------------------------------------------------------------
PROFILE>POSITION 100.5 450.3<CR>
--------------------------------------------------------------------------------
Specifies the AC type that will hold the profile bearing value in the
output IFF file.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
ac_type
The AC type of the Ancillary Code entry that will hold the profile bearing
value. An integer value in the range 1 to 32767 is required.
--------------------------------------------------------------------------------
The SET AC_BEARING command is used to specify the AC type value of the AC
entry in the output IFF file that will hold the bearing of the profile.
By default an AC type 1001 will be used.
Use of the SHOW SETTINGS command is recommended to check on the current
setting.
--------------------------------------------------------------------------------
The following error messages are specific to the SET and SET AC_BEARING
commands:
--------------------------------------------------------------------------------
PROFILE>SET AC_BEARING 2005
--------------------------------------------------------------------------------
Specifies the attribute code that will be used to used to identify
the clutter index in an IFF Coordinate Block (CB) entry.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
ac_type
The attribute code of the column in the CB entry that holds the clutter
index. An integer value in the range 1 to 32767 is required.
--------------------------------------------------------------------------------
Specifies the attribute code that will be used to used to identify
the clutter index in an IFF Coordinate Block (CB) entry.
By default a value of 1003 is used.
Use of the SHOW SETTINGS command is recommended to check on the current
setting.
--------------------------------------------------------------------------------
The following error messages are specific to the SET and SET AC_CLUTTER
commands:
--------------------------------------------------------------------------------
PROFILE>SET AC_CLUTTER 2003
--------------------------------------------------------------------------------
Specifies the AC type that will hold the profile length value in the
output IFF file.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
ac_type
The AC type of the the Ancillary Code entry that will hold the profile
length value. An integer value in the range 1 to 32767 is required.
--------------------------------------------------------------------------------
The SET AC_LENGTH command is used to specify the AC type value of the AC
entry in the output IFF file that will hold the length of the profile.
By default an AC type 1002 will be used.
Use of the SHOW SETTINGS command is recommended to check on the current
setting.
--------------------------------------------------------------------------------
The following error messages are specific to the SET and SET AC_LENGTH
commands:
--------------------------------------------------------------------------------
PROFILE>SET AC_LENGTH 2004
--------------------------------------------------------------------------------
Specifies the feature code that will be given to all features in the
output IFF file.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
feature_code
The feature code value. An integer number in the range 1 to 32767 is
required.
--------------------------------------------------------------------------------
The SET FC command is used to specify the feature code value that is given
to all features in the output IFF file.
By default all features are given a feature code value of 1.
Use of the SHOW SETTINGS command is recommended to check on the current
setting.
--------------------------------------------------------------------------------
The following error messages are specific to the SET and SET FC
commands:
--------------------------------------------------------------------------------
PROFILE>SET FC 4
--------------------------------------------------------------------------------
Specifies the layer into which features are placed in the output IFF file.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
layer
The IFF layer number. An integer value in the range 1 to 32767 is
required.
--------------------------------------------------------------------------------
The SET LAYER command is used to specify the layer into which features
are placed in the output IFF file.
By default features are written to layer 1 in the IFF file.
Use of the SHOW SETTINGS command is recommended to check on the current
setting.
--------------------------------------------------------------------------------
The following error messages are specific to the SET and SET LAYER
commands:
--------------------------------------------------------------------------------
PROFILE>SET LAYER 4
--------------------------------------------------------------------------------
Sets the scale in the output IFF file MD (Map Descriptor) entry.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
scale
The scale denominator to be set in the output IFF file MD (Map Descriptor)
entry. A real (floating point) value is required eg. 10000.0
--------------------------------------------------------------------------------
The SET SCALE command is used to specify the scale of the output
IFF file. The scale value is stored in the MD (Map Descriptor) entry
of the IFF file. The command is required since a scale value is not
available from the DTI Projection Record.
By default a scale value of 50000 (ie. 1:50000) is written to the output
IFF file.
Use of the SHOW SETTINGS command is recommended to check on the current
setting.
--------------------------------------------------------------------------------
The following error messages are specific to the SET and SET SCALE
commands:
--------------------------------------------------------------------------------
PROFILE>SET SCALE 10000
--------------------------------------------------------------------------------
Registers a map or other source document placed on a digitising table,
to the input DTM.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
The SETUP MAP command allows a source document to be registered to the
input DTM.
In order to register the map and a DTM, the DTM should have first been
specified, and a source document should have been securely attached to the
surface of a digitising table.
On giving the command you will be asked to digitise 4 rectangular
registration points. The registration points represent
4 points on the map that correspond to the 4 corners of the DTM. The points
are digitised in the order top left (NW), bottom left (SW), bottom right (SE)
and top right (NE) using any button on the table puck. A point should be
digitised in response to a prompt on the terminal.
Following the registration of a map to the DTM, coordinate values
required by the POINT, POSITION, SECTOR and WINDOW commands, may be input
using the table puck.
--------------------------------------------------------------------------------
The following error messages are specific to the SETUP and SETUP MAP
commands:
--------------------------------------------------------------------------------
PROFILE>SETUP MAP
--------------------------------------------------------------------------------
Displays the file specification of all selected clutter grid files.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
SHOW CLUTTER displays the file specification of all currently defined
clutter grid files. These are the names of the DTI files selected using the
BUILDING, VEGETATION and WATER commands.
If a clutter file has not been specified, the file will be shown as
undefined.
--------------------------------------------------------------------------------
The following message is specific to the SHOW command:
--------------------------------------------------------------------------------
PROFILE>SHOW CLUTTER
--------------------------------------------------------------------------------
Shows the current status of those options that may be enabled by means of
the ENABLE command, or disabled using the DISABLE command.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Displays the current status of all the PROFILE options that may be
enabled or disabled using the ENABLE and DISABLE commands.
--------------------------------------------------------------------------------
The following message is specific to the SHOW command:
--------------------------------------------------------------------------------
PROFILE>SHOW ENABLE
--------------------------------------------------------------------------------
Displays information extracted from the header of the input DTM.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Details extracted from the header of the DTM are displayed on the
terminal, along with details of the current window (rectangular area of
interest).
The header values are shown in the current units of measurement. This is
dependent on the header type of the input file, or may be set explicitly using
the UNITS command.
--------------------------------------------------------------------------------
The following messages are specific to the commands SHOW and SHOW FILEIN:
--------------------------------------------------------------------------------
PROFILE>SHOW FILEIN
--------------------------------------------------------------------------------
Displays information on the profile origin (base station position),
sample and profile intervals, sample bands and sector of
interest.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
The SHOW PARAMETERS command is used to display information about the
profile origin (base station), sample and profile intervals,
sample bands and sector of interest.
--------------------------------------------------------------------------------
The following message is specific to the SHOW command:
--------------------------------------------------------------------------------
PROFILE>SHOW PARAMETERS
--------------------------------------------------------------------------------
Shows the current value of those parameters that may be set using the SET
command.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Displays the name of all PROFILE parameters that may be set using the
SET command, and their current values.
--------------------------------------------------------------------------------
The following message is specific to the SHOW command:
--------------------------------------------------------------------------------
PROFILE>SHOW SETTINGS
--------------------------------------------------------------------------------
Defines the interval at which nodes will be sampled along the columns
and rows of the DTM, when using PROFILE with a profile interval of 0.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
column_interval
The sample interval along the columns of the DTM. A positive integer value
is required.
row_interval
The sample interval along the rows of the DTM. A positive integer value is
required.
--------------------------------------------------------------------------------
SUB_SAMPLE is used to define the interval at which PROFILE samples the
columns and rows of the DTM with a profile interval of 0.
By default with a profile interval of 0, PROFILE constructs a path profile
between the base station and each DTM node that lies within the rectangular or
sector areas of interest using SUB_SAMPLE values of 1 and 1. If SUB_SAMPLE
values of 2 and 2 are used, then only profiles between the base station and
every second node along a DTM column and row, are constructed.
Note that if the number of columns and rows in the rectangular area of
interest is not exactly divisible by the sub-sample values, profiles
between the last column or row nodes are generated.
The SUB_SAMPLE command is used in situations where it is necessary to
reduce the total number of profiles generated for subsequent analysis.
The current sub-sampling intervals may be examined using the SHOW PARAMETERS
command.
--------------------------------------------------------------------------------
The following error messages are specific to the SUB_SAMPLE command:
--------------------------------------------------------------------------------
PROFILE>SUB_SAMPLE 2 2
--------------------------------------------------------------------------------
The SPAWN command enables a subprocess to be created from within PROFILE.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
command-line
Specifies a DCL command string to be executed as if typed in response to
a '$' prompt. The command line cannot exceed 80 characters.
--------------------------------------------------------------------------------
The SPAWN command enables you to create a subprocess while within
PROFILE. When the subprocess terminates, control is returned to PROFILE.
The command is generally used for file management purposes.
--------------------------------------------------------------------------------
The following error messages are specific to the SPAWN command:
--------------------------------------------------------------------------------
PROFILE> SPAWN DIRECTORY LSL$DTI:*_._DTI
--------------------------------------------------------------------------------
Specifies the units of measurement that will be used when defining an area
of interest in the input DTM, defining the position of a base station, or a
profile end point. The command also controls the units of measurement which
will be used when displaying file header details.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
units
A keyword defining the measurement units, chosen from:
--------------------------------------------------------------------------------
The UNITS command defines in which units of measurement arguments to the
POSITION and POINT commands are specified, and the units of measurement used
when defining an area of interest in the input DTM by means of the WINDOW
command.
The command should be given after defining the input DTM since an
appropriate default units of measurement is set up when the file is opened. If
the DTM file is of header type TED4 or UHL1 (ie DTED files), then the default
is latitude and longitude specified in degrees, minutes and seconds; for all
other header types metre units are assumed.
--------------------------------------------------------------------------------
The following error messages are specific to the UNITS command:
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Selects and opens a DTI file that contains clutter information relating
to vegetation.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
file-spec
The file specification for the input grid file containing clutter
information relating to vegetation.
--------------------------------------------------------------------------------
This command opens and maps into memory a DTI file, containing height
information relating to vegetation. Details derived from the header of the file
are displayed on the terminal to confirm that the file has been successfully
opened.
A clutter file may only be specified after a DTM has been selected using
the FILEIN command.
If the clutter file contains a DTI Projection Record, the position of the
SW corner of the grid may be determined. This enables the clutter data to be
correctly positioned with respect to the DTM. If the origin is unset or
the file contains no projection record, the SW corner of the clutter file is
assumed to register to the SW corner of the DTM.
--------------------------------------------------------------------------------
The following error messages are specific to the VEGETATION command:
--------------------------------------------------------------------------------
PROFILE>VEGETATION TEST_VEGETATION
--------------------------------------------------------------------------------
The WAIT command causes processing to be suspended for a specified number
of seconds.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
seconds
The number of seconds for which processing is to be suspended. A real
(floating point) value is required.
--------------------------------------------------------------------------------
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 error message is specific to the WAIT command:
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Selects and opens a DTI file that contains clutter information relating
to water.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
file-spec
The file specification for the input grid file containing clutter
information relating to water.
--------------------------------------------------------------------------------
This command opens and maps into memory a DTI file, containing
information relating to water. Details derived from the header of the file
are displayed on the terminal to confirm that the file has been successfully
opened.
A clutter file may only be specified, after a DTM has been selected using
the FILEIN command.
If the clutter file contains a DTI Projection Record, the position of the
SW corner of the grid may be determined. This enables the clutter data to be
correctly positioned with respect to the DTM. If the origin is unset or
the file contains no projection record, the SW corner of the clutter file is
assumed to register to the SW corner of the DTM.
--------------------------------------------------------------------------------
The following error messages are specific to the WATER command:
--------------------------------------------------------------------------------
PROFILE>WATER TEST_WATER
--------------------------------------------------------------------------------
Specifies a rectangular area of interest in the input DTM.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
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 WINDOW command is used to limit profile calculation to a rectangular
geographical area. Only profiles between the base station and DTM nodes that
lie within the rectangle are generated when the GO command is given. The
rectangular window is ignored when the POINT command is used.
If a digitising table is available, puck Button 1 may be used to
give the command WINDOW. When the button is pressed, you will be asked to
digitise 2 points inside the map area, defining the SW (bottom lefthand)
and NE (top righthand) corners of the rectangle. Definition of the area of
interest may be abandoned by pressing puck Button F.
Note, that when the DTM is first opened, a default area of interest is set
which corresponds to the whole of the DTM.
--------------------------------------------------------------------------------
The following messages are specific to the WINDOW command:
--------------------------------------------------------------------------------
PROFILE>WINDOW 1 1 200 200
If the cause of the error cannot be traced by the user, and
Laser-Scan are consulted, then the output file should be preserved to
facilitate diagnosis.
Messages: None.
Examples:
FILEIN COMMAND
FILEIN
FORMAT: FILEIN file-spec
Command parameters:
Any part of the file specification not supplied is taken from the default
'LSL$DTI:DTI.DTI', although if no file-spec is supplied, you will be asked to
supply one in response to the prompt Input DTI filename>
DESCRIPTION:
Messages:
*** ERROR *** Specifying command FILEIN
Input DTI filename is missing
Example:
LSL$DTI:TEST.DTI
Header: MIKE Data: WORD
Units are Metres
Matrix coverage SW: 1 1 NE: 301 251
Matrix Window SW: 1 1 NE: 301 251
Matrix Interval E: 1 N: 1
Value Range : 0 to 851
PROFILE>
GO COMMAND
GO
FORMAT: GO
Command parameters: _None
DESCRIPTION:
Messages:
*** ERROR *** Specifying command GO
The input DTM must be specified before GO
*** ERROR *** Specifying command GO
The output IFF file must be specified before GO
*** ERROR *** Specifying command GO
Profile origin position has not been defined
*** ERROR *** Specifying command GO
Profile sample interval has not been defined
*** ERROR *** Specifying command GO
Profile origin is not within the current area of interest
Redefine the position, or window before issuing GO
Examples:
PROFILE>
HELP COMMAND
HELP
FORMAT: HELP [command]
Command parameters:
DESCRIPTION:
If no parameter is supplied then a list of all commands available is
given.
Messages: None.
Examples:
FILEIN
Opens and maps into memory a DTI file, containing the terrain
elevation data to be used for profile generation. Details derived from the
header are displayed on the terminal to confirm that the file has been
successfully opened
PROFILE>
IFF COMMAND
IFF
FORMAT: IFF file-spec
Command parameters:
Any part of the file specification not supplied is taken from the default
'LSL$IF:IFF.IFF', although if no file-spec is supplied, you will be asked to
supply one in response to the prompt Output IFF filename>
DESCRIPTION:
Messages:
*** ERROR *** Specifying command IFF
Output IFF filename is missing
Examples:
PROFILE
POINT COMMAND
POINT
FORMAT: POINT x_coordinate y_coordinate
Command parameters:
DESCRIPTION:
Messages:
*** ERROR *** Specifying command POINT using puck button
No map set up has been performed
*** ERROR *** Specifying command POINT
The input DTM is undefined
*** ERROR *** Specifying command POINT
Point must lie within DTM bounds
*** ERROR *** Specifying command POINT
Command requires 2 x y coordinate values
*** ERROR *** Specifying command POINT
Latitude and longitude values supplied in wrong format
*** ERROR *** Specifying command POINT
Profile origin position has not been defined
*** ERROR *** Specifying command POINT
The sampling interval has not been defined
*** ERROR *** Specifying command POINT
No output IFF file has been specified
Examples:
PROFILE>
POSITION COMMAND
POSITION
FORMAT: POSITION x_coordinate y_coordinate
Command parameters:
DESCRIPTION:
Messages:
*** ERROR *** Specifying command POSITION using puck button
No map set up has been performed
*** ERROR *** Specifying command POSITION
The input DTM is undefined
*** ERROR *** Specifying command POSITION
Point must lie within DTM bounds
*** ERROR *** Specifying command POSITION
Command requires 2 x y coordinate values
*** ERROR *** Specifying command POSITION
Latitude and longitude values supplied in wrong format
Examples:
Height of terrain surface at base station is 106.00
PROFILE>
PROFILE_INTERVAL COMMAND
PROFILE_INTERVAL
FORMAT: PROFILE_INTERVAL angle
Command parameters:
DESCRIPTION:
Messages:
*** ERROR *** Specifying command PROFILE_INTERVAL
Command requires 1 real argument
*** ERROR *** Specifying command PROFILE_INTERVAL
Command requires a real argument in the range 0 to 180
Example:
PROFILE>
RESET BAND COMMAND
RESET BAND
FORMAT: RESET BAND
Command parameters: None.
DESCRIPTION:
Messages:
*** ERROR *** Specifying command RESET
Command qualifier is BAND
Examples:
PROFILE> RESET BAND
PROFILE>
RETURN COMMAND
RETURN
FORMAT: RETURN
Command parameters: None.
DESCRIPTION:
Messages:
*** ERROR *** Specifying command RETURN
The RETURN command is only valid in a command file
Returning to terminal input
Examples:
PROFILE> @DEFAULT_BANDS<CR>
PROFILE> BAND 1 1000.0 50.0
PROFILE> BAND 2 2000.0 100.0
PROFILE> RETURN
Returning to terminal input
PROFILE>
SAMPLE_INTERVAL COMMAND
SAMPLE_INTERVAL
FORMAT: SAMPLE_INTERVAL sample_interval
Command parameters:
DESCRIPTION:
Messages:
*** ERROR *** Specifying command SAMPLE__INTERVAL
Command requires 1 real argument
*** ERROR *** Specifying command SAMPLE__INTERVAL
Command requires a positive value
Example:
PROFILE>
SECTOR COMMAND
SECTOR
FORMAT: SECTOR radius [bearing_1] [bearing_2]
Command parameters:
DESCRIPTION:
Messages:
*** ERROR *** Specifying command SECTOR
Command requires either 1 or 3 real arguments
*** ERROR *** Specifying command SECTOR
Sector distance must be specified as a positive real number
*** ERROR *** Specifying command SECTOR
Sector bearing values must be in the range 0 to 360
Example:
PROFILE>SECTOR 1000.0 40.5 90.0<CR>
PROFILE>
SET AC_BEARING COMMAND
SET AC_BEARING
FORMAT: SET AC_BEARING ac_type
Command parameters:
DESCRIPTION:
Messages:
*** ERROR *** Specifying command SET
Command qualifiers are AC_BEARING, AC_CLUTTER, AC_LENGTH, FC, LAYER or SCALE
*** ERROR *** Specifying command SET AC_BEARING
Command requires an integer argument
*** ERROR *** Specifying command SET AC_BEARING
Command requires a feature code in the range 1 to 32767
Examples:
PROFILE>
SET AC_CLUTTER COMMAND
SET AC_CLUTTER
FORMAT: SET AC_CLUTTER ac_type
Command parameters:
DESCRIPTION:
Messages:
*** ERROR *** Specifying command SET
Command qualifiers are AC_BEARING, AC_CLUTTER, AC_LENGTH, FC, LAYER or SCALE
*** ERROR *** Specifying command SET AC_CLUTTER
Command requires an integer argument
*** ERROR *** Specifying command SET AC_CLUTTER
Command requires a feature code in the range 1 to 32767
Examples:
PROFILE>
SET AC_LENGTH COMMAND
SET AC_LENGTH
FORMAT: SET AC_LENGTH ac_type
Command parameters:
DESCRIPTION:
Messages:
*** ERROR *** Specifying command SET
Command qualifiers are AC_BEARING, AC_CLUTTER, AC_LENGTH, FC, LAYER or SCALE
*** ERROR *** Specifying command SET AC_LENGTH
Command requires an integer argument
*** ERROR *** Specifying command SET AC_LENGTH
Command requires a feature code in the range 1 to 32767
Examples:
PROFILE>
SET FC COMMAND
SET FC
FORMAT: SET FC feature_code
Command parameters:
DESCRIPTION:
Messages:
*** ERROR *** Specifying command SET
Command qualifiers are AC_BEARING, AC_CLUTTER, AC_LENGTH, FC, LAYER or SCALE
*** ERROR *** Specifying command SET FC
Command requires 1 integer argument
*** ERROR *** Specifying command SET FC
Command requires a feature code in the range 1 to 32767
Examples:
PROFILE>
SET LAYER COMMAND
SET LAYER
FORMAT: SET LAYER layer
Command parameters:
DESCRIPTION:
Messages:
*** ERROR *** Specifying command SET
Command qualifiers are AC_BEARING, AC_CLUTTER, AC_LENGTH, FC, LAYER or SCALE
*** ERROR *** Specifying command SET LAYER
Command requires 1 integer argument
*** ERROR *** Specifying command SET LAYER
Command requires a feature code in the range 1 to 32767
Examples:
PROFILE>
SET SCALE COMMAND
SET SCALE
FORMAT: SET SCALE scale
Command parameters:
DESCRIPTION:
Messages:
*** ERROR *** Specifying command SET
Command qualifiers are AC_BEARING, AC_CLUTTER, AC_LENGTH, FC, LAYER or SCALE
*** ERROR *** Specifying command SET SCALE
Command requires a real argument
Examples:
PROFILE>
SETUP MAP COMMAND
SETUP MAP
FORMAT: SETUP MAP
DESCRIPTION:
An error message is generated if any of the angles of the digitised
rectangle are less than 88 degrees, or greater than 92 degrees (ie. if the
corner points of the rectangle are more than 2 degrees off rectangular). In
this case you will be asked to redigitise the 4 registration points.
Setup of the map may be aborted using
Messages:
*** ERROR *** Specifying command SETUP
Command qualifier is MAP
*** ERROR *** Specifying command SETUP MAP
Command is invalid if the table has not been initialised
*** ERROR *** Specifying command SETUP MAP
The input DTM must be specified before SETUP MAP
*** ERROR *** Setting up MAP
Badly digitised corner points; try again
Examples:
Digitise map NW corner>
Digitise map SW corner>
Digitise map SE corner>
Digitise map NE corner>
PROFILE>
SHOW CLUTTER COMMAND
SHOW CLUTTER
FORMAT: SHOW CLUTTER
Command parameters: None.
DESCRIPTION:
Messages:
*** ERROR *** Specifying command SHOW
Command qualifiers are CLUTTER, ENABLE, FILEIN, PARAMETERS or SETTINGS
Examples:
Current status:
BUILDING File : Undefined
VEGETATION File : LSL$DTI:VEGETATION_TEST.DTI;1
WATER File : Undefined
PROFILE>
SHOW ENABLE COMMAND
SHOW ENABLE
FORMAT: SHOW ENABLE
Command parameters: None.
DESCRIPTION:
The name of the option is shown, followed by either the word ON or OFF
to indicate its current status.
If the command SHOW ENABLE is used before any ENABLE or DISABLE commands
have been given, the default status of the options is displayed.
Messages:
*** ERROR *** Specifying command SHOW
Command qualifiers are CLUTTER, ENABLE, FILEIN, PARAMETERS or SETTINGS
Examples:
Current status:
ABSOLUTE On DIAGNOSTICS On TABLE Off
PROFILE>
SHOW FILEIN COMMAND
SHOW FILEIN
FORMAT: SHOW FILEIN
Command parameters: None.
DESCRIPTION:
Messages:
*** ERROR *** Specifying command SHOW
Command qualifiers are CLUTTER, ENABLE, FILEIN, PARAMETERS or SETTINGS
*** WARNING *** The input DTM is undefined
Examples:
LSL$DTI:TEST.DTI
Header: MIKE Data: WORD
Units are DTI Matrix Values
Matrix coverage SW: 1 1 NE: 301 251
Matrix Window SW: 1 1 NE: 200 200
Matrix Interval E: 1 N: 1
Value Range : 0 to 851
PROFILE>
SHOW PARAMETERS COMMAND
SHOW PARAMETERS
FORMAT: SHOW PARAMETERS
Command parameters: None.
DESCRIPTION:
Messages:
*** ERROR *** Specifying command SHOW
Command qualifiers are CLUTTER, ENABLE, FILEIN, PARAMETERS or SETTINGS
Examples:
Base Station :
X Y Z (Metres) : 443500.00 82550.00 43.00
(Matrix) : 69.00 50.00 43.00
Sector of Interest :
RADIUS BEARING 1 BEARING 2 WIDTH
6000.00 0.00 360.00 360.00
Profile Interval : 0.00 degrees (i.e. use all DTM nodes)
Sampling Interval : Variable (see Band Information)
Sample Bands : (in metres)
BAND WIDTH OUTER DISTANCE SAMPLE INTERVAL
1 3000.00 3000.00 200.00
2 1000.00 4000.00 100.00
3 1000.00 5000.00 50.00
PROFILE>
SHOW SETTINGS COMMAND
SHOW SETTINGS
FORMAT: SHOW SETTINGS
Command parameters: None.
DESCRIPTION:
If the SHOW SETTINGS command is given before using a SET command, the
values shown are the default values that are allocated to the parameters by
PROFILE.
Messages:
*** ERROR *** Specifying command SHOW
Command qualifiers are CLUTTER, ENABLE, FILEIN, PARAMETERS or SETTINGS
Examples:
Current values:
AC_BEARING 1001 AC_CLUTTER 1003 AC_LENGTH 1002
FC 1 LAYER 1 SCALE 50000.0
PROFILE>
SUB_SAMPLE COMMAND
SUB_SAMPLE
FORMAT: SUB_SAMPLE column_interval row_interval
Command parameters:
DESCRIPTION:
Message:
*** ERROR *** Specifying command SUB_SAMPLE
Command requires 2 integer arguments
*** ERROR *** Specifying command SUB_SAMPLE
Command requires 2 positive integer arguments
Examples:
PROFILE>
SPAWN COMMAND
SPAWN
FORMAT: SPAWN command-line
Command parameters:
DESCRIPTION:
Messages:
*** ERROR *** Specifying command SPAWN
Command requires a valid DCL command line
*** ERROR *** Unable to spawn command, returning to PROFILE
Examples:
Directory DUA3:[LSL.DTI]
TEST1_.DTI;1 8/8 18-AUG-1987 07:56 [LSL,DAVEC]
TEST2_.DTI;1 7/8 18-AUG-1987 17:17 [LSL,DAVEC]
TEST2_.DTI;2 7/8 18-AUG-1987 17:34 [LSL,DAVEC]
Total of 3 files, 22/24 blocks.
PROFILE>
UNITS COMMAND
UNITS
FORMAT: UNITS units
Command parameters:
MATRIX Matrix grid interval units, i.e rows and columns
METRES Metre values
SECONDS Latitude and Longitude in seconds of arc
LATLONG Latitude and Longitude in degrees, minutes and seconds
PROJECTION Projection Record Units (eg. mms on the source document)
DESCRIPTION:
The command also controls in what format details from the header of the DTM
are displayed when the SHOW FILEIN command is given.
The command also controls in what format details of the current parameters
are displayed when the SHOW PARAMETERS command is given.
Messages:
*** ERROR *** Specifying command UNITS
Command qualifiers are MATRIX, METRES, PROJECTION, SECONDS or LATLONG
*** ERROR *** Specifying command UNITS
Command qualifiers LATLONG or SECONDS are only valid for DTED input DTI files
Examples:
PROFILE> UNITS MATRIX<CR>
PROFILE>
VEGETATION COMMAND
VEGETATION
FORMAT: VEGETATION file-spec
Command parameters:
Any part of the file specification not supplied is taken from the default
'LSL$DTI:DTI.DTI', although if no file-spec is supplied, you will be asked to
supply one in response to the prompt Input DTI filename>
DESCRIPTION:
Messages:
*** ERROR *** Specifying command VEGETATION
Input DTI filename is missing
*** ERROR *** Specifying command VEGETATION
Input DTM must be specified first
Example:
LSL$DTI:TEST_VEGETATION.DTI
Header: MIKE Data: WORD
Units are Metres
Matrix coverage SW: 1 1 NE: 301 251
Matrix Window SW: 1 1 NE: 301 251
Matrix Interval E: 1 N: 1
Value Range : 0 to 10
PROFILE>
WAIT COMMAND
WAIT
FORMAT: WAIT seconds
Command parameters:
DESCRIPTION:
Messages:
*** ERROR *** Specifying command WAIT
Command requires a real argument
Examples:
PROFILE> WAIT 4.0<CR>
PROFILE>
WATER COMMAND
WATER
FORMAT: WATER file-spec
Command parameters:
Any part of the file specification not supplied is taken from the default
'LSL$DTI:DTI.DTI', although if no file-spec is supplied, you will be asked to
supply one in response to the prompt Input DTI filename>
DESCRIPTION:
Messages:
*** ERROR *** Specifying command WATER
Input DTI filename is missing
*** ERROR *** Specifying command WATER
Input DTM must be specified first
Example:
LSL$DTI:TEST_WATER.DTI
Header: MIKE Data: WORD
Units are Metres
Matrix coverage SW: 1 1 NE: 301 251
Matrix Window SW: 1 1 NE: 301 251
Matrix Interval E: 1 N: 1
Value Range : -1 to 0
PROFILE>
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 the top right hand corner of the defining rectangle.
DESCRIPTION:
The area of interest should lie within the geographical bounds of the DTM.
Messages:
*** ERROR *** Specifying command WINDOW
The input DTM must be specified before WINDOW
*** ERROR *** Specifying command WINDOW using puck button
No map set up has been performed
*** ERROR *** Specifying command WINDOW
Command requires 4 arguments
*** ERROR *** Specifying command WINDOW
NE corner values must exceed SW corner values
*** ERROR *** Specifying command WINDOW
Supplied values exceed matrix extents
*** ERROR *** Specifying command WINDOW
Latitude and longitude values supplied in wrong format
Examples:
PROFILE>UNITS LATLONG
PROFILE>WINDOW 42 00 00N 3 00 00E 42 30 00N 2 58 40E
PROFILE>
PROFILE EXAMPLES
EXAMPLES
EXAMPLES
$ PROFILE
*** WARNING *** Unable to initialise the table monitor
PROFILE will assume no table is available
PROFILE>FILEIN OS44000800
In this example an area of interest in the DTM is defined using the
WINDOW command. The base station (profile origin) is positioned in
the centre of the area of interest. The SECTOR command has been used
to define the radius of a circle surrounding the base station. The
PROFILE_INTERVAL command is used to define the angular separation
of the radial profiles, while the SAMPLE_INTERVAL command has been used
to define a constant rate of sampling along the profiles. Output is
to the file 'LSL$IF:DAVEC.IFF'. Diagnostics are enabled by default.
$PROFILE
WARNING *** Unable to initialise the table monitor
PROFILE will assume no table is available
PROFILE>FILE OS44000800
In this example a profile is constructed between the base station and each
DTM node in the sector of interest. A series of BAND commands have been
given to define a sample interval that varies with distance along the profile.
Since the total width of the bands, is less than the sector distance, the
outer band has been extended.
ELAPSED: 0 00:47:55.38 CPU: 0:09:00.06 BUFIO: 284 DIRIO: 7160 FAULTS: 527
MESSAGES (OTHER)
MESSAGES (OTHER)
In addition to the above messages which are generated by the program itself,
other messages may be produced by by Laser-Scan libraries. In
particular, messages may be generated by the IFF and DTI libraries or by the
Laser-Scan I/O library, LSLLIB. IFF library messages are introduced by
'%IFF' and are documented in the IFF library users' guide. DTI library
messages are introduced by %DTI and are documented in the MATRIX Reference
manual. LSLLIB messages are introduced by '%LSLLIB' and are generally
self-explanatory. They are often used to explain the details of program
generated errors.