VARIABLE

A GAV data file of variable category has one record per line (i.e., a record is terminated with a new-line character), and each data field in a record is separated by one or more separator characters as specified by the SEPARATOR_CHARS descriptor.

For example, the following lines could be a GAV data file of variable category, with separator characters being the space character ( ) and the comma (,).

    1 10,10 1000, 6 4
    2 10 20 1020  5 2
    3 10 30 1015  2 0

Individual fields in this category are accessed according to their position in the record. Therefore, in the example above, the values 1000, 1020, and 1015 are in the fourth position of each record.

Example:

A simple variable GAV schema file might look like this:

    GAV
    NAME: SIMPLE XYZ - Variable
    CATEGORY: VARIABLE
    !
    !    The following lines contain category specific information for
    !    variable format files.
    !
    OFFSET(ROWS): 0
    SEPARATOR_CHARS:" \t,"
    COMMENT_CHARS:"#"
    DATA: TYPE(INTEGER) ATTRIBUTE(Line|Line) POSITION(1)
    DATA: TYPE(X)  POSITION(2)
    DATA: TYPE(Y)  POSITION(3)
    DATA: TYPE(Z)  POSITION(4)

The corresponding GAV data file might look like this:

    1 10,10 1000, 6 4
    1 10 20 1020 5 2
    100 10 30 1015 2 0

This would produce the points (10,10,1000), (10,20,1020), and (10,30,1015). Notice that the separator characters are defined in this schema to be spaces, tabs, or commas. Notice also that the extra data on the end of each record is ignored.

© PCI Geomatics Enterprises, Inc.®, 2026. All rights reserved.