Appendix 2: Displaying Data Formats
91
ASEG-GDF File Format
Following is an example of an ASEG-GDF import template:
[IMPORT ASEG-GDF]
DEFN BOOTHILL.dfn
DATA BOOTHILL.dat
FLC FLTLINE
IMPORT FLIGHT,FLIGHT,SHORT
IMPORT DATE,DATE,LONG
IMPORT TIME,TIME,FLOAT
IMPORT FIDUCIAL,FIDUCIAL,FLOAT
IMPORT ALTITUDE,ALTITUDE,FLOAT
IMPORT TMAGRAW,TMAGRAW,FLOAT
ALIAS L20440,L20440
ALIAS L20450,L20450
The template file is searched for the line [IMPORT ASEG-GDF], and
the IMPORT and ALIAS lines that follow are read to determine what
data to import and the channels in which to place the data. You
may add any comment line you wish before the [IMPORT ASEG-GDF]
line.
DEFN syntax:
DEFN file_name
where file_name is the name of the ASEG-GDF DEFN file to
import.
FLC syntax:
FLC flight_line_channel
where flight_line_channel is the name of the ASEG-GDF channel
containing the flight line information.
IMPORT syntax:
IMPORT name, channel, type
The name is the name used in the ASEG-GDF DEFN file to indicate
the data name. The channel is a mapping to the channel that will
be created in the database. And the data type (one of BYTE,
UBYTE, SHORT, LONG, FLOAT or DOUBLE) which should correspond to
the type in the DEFN file.
ALIAS syntax:
ALIAS aseg_line_name,new_line_name
As the ASEG-GDF lines are imported, if a line-channel already
exists in the database, it will be replaced. The ALIAS statement
in the import template can be used to re-name lines of the ASEG-
GDF data file during import. If the new_line_name is blank, the
line will not be imported.
If ALIAS is used, ALL lines contained in the ASEG-GDF file must be
defined by an ALIAS line in the same order that the lines appear
in the file. The SCANASEG GX can be used to construct a default
template that includes ALIAS lines for all lines of a file. This
file can be edited as required by the system.
For example, if a file contains line L90, two sections of line
L100 and a tie line L30, the following ALIAS lines can be used to
import the data into properly named lines:
ALIAS L90,L90
ALIAS L100,L100.0
ALIAS L100,L100.1
ALIAS L30,T30