VECREP -- Vector Segment Report

Writes the contents of a vector segment to a report device.

PARAMETERS

VECREP is controlled by the following global parameters:

Name     Prompt                                  Count     Type
FILE     Database File Name                      1-64      Char
DBVS     Database Vector Segment                 1         Int
VRTYPE   Vector Report Contents                  0-16      Char
REPORT   Report Mode: TERM/OFF/filename          1-64      Char

FILE

Specifies the PCIDSK database file containing the vector segment.

 EASI>FILE="filespec"

DBVS

Specifies the database vector segment to be dumped to the report device.

 EASI>DBVS=i
NOTE: Segment must be type 116.

VRTYPE

  Valid Values:   VERT, TABLE, RST, ALL, SUMMARY, OLD
  Default:        SUMMARY
Specifies the type of vector segment report to be generated. It can be any of the following values. Short forms can be used.

REPORT

Specifies the file to which to append the generated report.

 EASI>REPORT="filename"
 EASI>REPORT=           | defaults to terminal output
The following names have special meaning:

 EASI>REPORT="TERM"     | generates reports on your terminal.
 EASI>REPORT="DISK"     | generates reports on file "IMPRPT.LST".
 EASI>REPORT="OFF"      | usually cancels report generation, but
                        | VECREP forces REPORT to terminal output

DETAILS

VECREP writes the contents of a vector segment (DBVS) held in a PCIDSK database (FILE) to a report device (REPORT).

A report device (REPORT parameter) must be selected. If the report device is OFF, VECREP will force its output to the user's terminal.

If vector coordinates are stored in LONG/LAT units, then coordinates are reported as degrees, minutes, seconds, and hemisphere, rather than real numbers.

Note: Vector segments can contain very large amounts of data and may result in reports hundreds of pages long.

EXAMPLE

Print a report of the attribute table in vector segment 25 on the demo file irvine.pix to the report file vectors.lis.

 EASI>FILE="irvine.pix"
 EASI>DBVS=25                   | specify segment to print
 EASI>VRTYPE="table"            | print only the attribute table
 EASI>REPORT="vectors.lis"      | specify file to receive data
 EASI>DELETE "vectors.lis"      | delete any existing report
 EASI>RUN VECREP
Following is a portion of the resulting file contents:

 Shape Attribute    Group
     0   1700210        1
     1   1700210        2
     2   1700205        3
     3   1700210        4
     4   1700210        5
     5   1700210        6
     6   1700211        7
     7   1700211        8
     8   1700210        9
     9   1700210       10
    10   1700210       11
           ...

About PCI Help Gateway