SPOFN - 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

Finds the next object for any SPOFF* procedure.

Syntax

01 SPOBJHANDLE PIC S9(9) BINARY.

01 NEAREST-OUT PIC X(60).

01 OUTLEN PIC S9(9) BINARY VALUE 60.

01 SPRETCODEPIC S9(9) BINARY.

CALL ‘SPOFN'

USING SPOBJHANDLE, NEAREST-OUT, OUTLEN, SPRETCODE.

Arguments

SPOBJHANDLE The handle of the opened object file. Input.

NEAREST-OUT A buffer to be filled with the identifier of the object that is found.

Output.

OUTLEN The size of the buffer that contains the identifier of the object that is found. If the buffer size is smaller than the identifier, the identifier is truncated. Input.

Return Values

PIP-ERROR

PIP-NOT-FOUND PIP-IN-POLYGON PIP-IN-BUFFER PIP-IN-BORDER PIP-OK

PIP-REGION-OVERLAP

Prerequisites

SPOFFCT, SPOFFNM, SPOFFNR, SPOFFPG, or SPOFFREC.

Alternates

None.

Notes

This procedure returns the identifier of a polygon or buffered area that contains a point. This point was identified by SPOFFCT, SPOFFPG, or SPOFFREC.

This procedure also returns the identifier of the object that matches the name pattern given by SPOFFNM.

If no additional objects found, the procedure returns PIP-NOT-FOUND.