VECHASH

Compute vector hash number


EnvironmentsPYTHON :: EASI
Quick linksDescription :: Parameters :: Parameter descriptions :: Details :: Example :: Related

Back to top

Description


VECHASH computes a hash number that represents an entire vector segment. This hash number is used as a checksum for software testing.
Back to top

Parameters


Name Type Caption Length Value range
FILE * String Input file name 1 - 192  
DBVS * Integer Input vector segment 1 - 48  
HASHOPT String Vector hash options 0 - 64 Default: ALL
REPORT String Report mode 0 - 192 Quick links
MONITOR String Monitor mode 0 - 3 ON, OFF
Default: ON

* Required parameter
Back to top

Parameter descriptions

FILE

Specifies the name of the GDB-supported file containing the vector segment for which the hash number will be computed.

DBVS

Specifies the input vector segment(s) to be processed.

Ranges of channels or segments can be specified with negative values. For example, {1,-4,10} is internally expanded to {1,2,3,4,10}. When you are not specifying a range in this way, only 48 numbers can be specified explicitly.

HASHOPT

Specifies the data types from the vector layer to be included when computing the hash value. Multiple options may be specified to compute a joint hashing value; for example, HASHOPT = SCHEMA ATTRIBUTES.

Valid options include:

REPORT

Specifies where to direct the generated report.

Available options are:

MONITOR

The program progress can be monitored by printing the percentage of processing completed. A system parameter, MONITOR, controls this activity.

Available options are:

Back to top

Details

VECHASH computes a hash value for a vector segment in a GDB-supported file. This function is primarily used for the construction of test procedures.

Back to top

Example

Compute and display the hash values for each of the vector segments in irvine.pix.

EASI>FILE="irvine.pix"		! File containing the vector data
EASI>DBVS=25,26			! Vector segments to process
EASI>HASHOPT=				! Default is "ALL"


EASI>RUN VECHASH
EASI>PRINT IMSTAT

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