Generates a GOF of points from an IBIS tabular file.
Generates a graphics overlay file (GOF) of points from an image based informtion system (IBIS) tabular file. Each row of the tabular file is read and written out to one record GOF.
- INFILE
- Input file. Input IBIS tabular file.
- OUTGOF
- Output gof. Output graphics overlay file.
- INCOL(3,5,6)
- Input columns. The columns of the input tabular file that is used as the point number, line(y) location, and sample(x) location of the points that are contained in the output GOF. The values specified for INCOL must be in order listed below.
INCOL(1) = point number INCOL(2) = line(y) location INCOL(3) = sample(x) locationIf INCOL(1) is set to 0, the point numbers of the points are assigned sequentially as the points are read from the input file.
- APPDFLG(YES )
- Append flag. The user may specify whether or not TAB2GOF should append data records to an existing GOF. An error occurs if APPDFLG is set to no and the GOF specified already exists.
= YES: Append. Append data to existing GOF. = NO: Do not append. Do not append data to existing GOF.
- DELFLG(YES )
- Delete flag. The option of whether to delete the labeled table file. The name for this labeled table file is tem__.
= YES: Delete the labeled table file = NO: Do not delete the labeled table file
MTB2TAB reads colnum 1, 5, 6 from IN.DAT and writes them to the labeled table file TEM__. TAB2GOF is then called to write the elements of TEM__ to OUT.DAT. The labeled table file is deleted.
MTB2TAB reads colnum 1, 9, 8 from IN.DAT and writes them to the labeled table file TEM__. TAB2GOF is then called to write the elements of TEM__ to OUT.DAT. The labeled table file is not deleted.
MTB2TAB is called to write the specified column number of INFILE to the specified attribute names of the labeled table file.
MTB2TAB algorithm _________________The program begins with the standard initialization and retrieval of user-specified parameters. Row by row, the input values of the columns specified are written as point numbers, line(y) locations, and sample(x) locations of points in the output file. When all the rows have been written to the output file, both the files are closed and the completion message is displayed.
All the elements of the labeled table file are then written to OUTGOF using the function TAB2GOF.
TAB2GOF algorithm _________________TAB2GOF begins by opening the input labeled table (LT) and reading the definition records. If the file type of the LT is not a valid GOF type, a fatal error message is generated. The appropriate GOF type is then opened based on the type of data in the LT. If the GOF currently exists and the parameter APPDFLG is set to NO, a fatal error message is generated. The data is then read from the data LT and written into the GOF. After all records of the LT have been read and copied to the GOF, the LT file and GOF are closed, and a standard completion message is written to the user's terminal.
If specified, DELTAB deletes the labeled table file and its subfiles. Error Messages: Error messages are displayed from the called routines.
User Notes:
- Any modifications made to DELTAB, MTB2TAB, or TAB2GOF may affect the output of this procedure.
- Related modules are GOF2MTB, GOF2TAB, and TAB2MTB.