| Environments | PYTHON :: EASI :: MODELER |
| Quick links | Description :: Parameters :: Parameter descriptions :: Details :: Example |
| Back to top |
| Back to top |
vecrep(file, dbvs, vrtype)
| Name | Type | Caption | Length | Value range |
|---|---|---|---|---|
| FILE * | str | Input file name | 1 - | |
| DBVS * | List[int] | Input vector segment | 1 - | |
| VRTYPE | str | Vector report type | 0 - 8 | Default: SUMMARY |
| Back to top |
FILE
Specifies the PCIDSK image file that contains the vector segment to describe.
DBVS
Specifies the input vector segment to be described in the the report.
VRTYPE
Specifies the type of vector segment report to be generated.
| Back to top |
VECREP writes the contents of the input vector segment (DBVS) held in a PCIDSK image file to the defined report device.
A report device 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, coordinates are reported as degrees, minutes, seconds, and hemisphere, rather than in real numbers.
| Back to top |
Print a report of the attribute table in vector segment 25 on the demo file irvine.pix to the report file vectors.lis.
from pci.vecrep import vecrep file = 'irvine.pix' # input file dbvs = [25,26] # input vector segments vrtype = 'TABLE' # report type vecrep( file, dbvs, vrtype )
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
...
© PCI Geomatics Enterprises, Inc.®, 2026. All rights reserved.