DBReadSegDesc

Demonstrates how to read the description of a segment.

Remarks

The following example illustrates how to open a file and read the description of a GCP segment.

Code

 local         int fp
 local         string description

 fp = DBOpen( GetPCIHOME() + "/demo/irvine.pix" )

 description = DBReadSegDesc( fp, "GCP", 27 )

 print description

 call DBClose( fp )

Output

The return value is a string containing the segment description.

22 GCP`s to REG Irvine to Eltoro

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