SPARAP - spatial_geostan - 2024.00

Spatial+ Reference for Windows, UNIX/Linux, z/OS

Product type
Software
Portfolio
Locate
Product family
GeoStan Geocoding Suite
Product
GeoStan Geocoding Suite > Spatial+
Version
2024.00
Language
English
Product name
Spatial+
Title
Spatial+ Reference for Windows, UNIX/Linux, z/OS
Copyright
2024
First publish date
1994
Last updated
2024-05-07
Published on
2024-05-07T22:16:04.316305

Defines "Region A" polygons for use in determining whether two regions overlap.

Syntax

01 SPHANDLE PIC S9(9) BINARY.

01 NUMPOINTS PIC S9(9) BINARY.

01 POINTS PIC S9(9) BINARY.

01 SPRETCODE PIC S9(9) BINARY.

*

CALL ‘SPARAP'

USING SPHANDLE, NUMPOINTS, POINTS, SPRETCODE.

Arguments

SPHANDLE Handle from SPINOCK. Input. NUMPOINTS Number of points in the polygon. Input.

POINTS Points describing the polygon (can be user-defined or long/lat).

Input.

Return Values

PIP-OK

PIP-ERROR

Prerequisites

SPINOCK.

Alternates

None.

Notes

You must also call SPARBP.

This procedure defines the first region used by SPCKRO when comparing two regions.

You can compare multiple RegionA polygons to a single second region using the same handle returned by SPINOCK. Call SPCLRAP after SPCKRO or SPCKROX and before additional calls to SPARAP.