A REF string is a string that encodes enough information to find a particular data layer that can be interpreted as being relative to a particular base file that is not shown in the string.
The following example shows a reference to the third channel of the file /pci/demo/irvine.pix.
gdb:/pci/src/gen/irvine.pix/{IMG:3}
The following example shows a reference to the third channel of the current (base) file.
gdb:/{IMG:3}
The following example shows a reference to vector segment five (not necessarily the fifth vector segment) in the file irvine.pix, which is one directory above the current base file.
gdb:../irvine.pix/{VEC:5}
The following example shows a reference to LUT segment 6 in the current file.
gdb:/{LUT:6}
The following example shows a reference to the file /pci/demo/irvine.pix. Within the API, the layer type would be LAYER_FILE.
gdb:/pci/demo/irvine.pix
The following example shows a reference to the vector segment in the current file with a layer name of FIELDBND.
gdb:/{VEC:"FIELDBND"}
Generally, a GDB REF layer contains the following pieces:
© PCI Geomatics Enterprises, Inc.®, 2024. All rights reserved.