This section provides a brief description of the Spatial+ COBOL procedures, grouped by purpose.
Initialization and Error Procedures
Returns details about the last error encountered in the library.
Enables/Disables immediate display of error message to the screen.
Initializes the Spatial+ library. Must be called before any other library procedure.
Terminates the Spatial+ library. Must be the last procedure called in the library.
Basic PiP (non ZIP + 4) Procedures
Retrieves the data in the GSA attribute file based on the name of the attribute.
Retrieves the data in the GSA attribute file based on the column number.
Retrieves the field name information in the GSA attribute file by column number.
Returns the number of attributes present in the associated GSA file.
Finds first object containing the input point.
Finds objects based on radius and returns in sorted order.
Finds the closest point to a target point.
Loads a specific object based upon an object handle.
Finds the next object for any SPOFF* procedure.
Finds next object for any SPOFFPX procedure and calculates the percentage of the input region overlapped by the returned region in the object file if SPOFFPG was used.
Validates the Spatial+ object file.
Retrieves the coordinate pairs of the current object in the object file.
Retrieves the header information for the current object.
Retrieves the handle for an object, used with SPOFGT .
Returns the current search distance for the FILEHANDLE object.
Sets the current search distance for the FILEHANDLE object.
Validates the filter criteria used in SPOFFNX.
ZIP + 4 PiP Procedures
Closes ZIP + 4 Z9 file after processing.
Finds first ZIP + 4 in any object in the object file.
Finds next ZIP + 4 in any object in the object file.
Opens ZIP + 4 Z9 file for processing.
Comparison Procedures
Defines "Region A" polygons for use in determining whether two regions overlap.
Defines "Region B" polygon for use in determining whether two regions overlap.
Clears Region A and B polygons that were set with SPARAP or SPARBP .
Checks if Region A and Region B polygons overlap.
Checks if Region A and Region B polygons overlap and calculates the percentage of Region A overlapped by Region B.
Clears "Region A" polygon that was set with SPARAP .
Clears "Region B" polygon that was set with SPARBP .
Initializes a new polygon overlap check operation.
Computes the distance from a point to the border of the current object.
Finds the closest point to a target point using a filter to reject unwanted objects.
Finds first polygon in the object file overlapping the input polygon.
Finds first polygon overlapping the input polygon and calculates the percentage of the input polygon overlapped by the polygon in the object file.
Finds first object's MBR overlapping the search rectangle.
Finds next object for any SPOFFPX procedure and calculates the percentage of the input region overlapped by the returned region in the object file if SPOFFPG was used.
Terminates a polygon overlap check operation.
Other Procedures
Returns the distance and bearing between two points.
Returns the version number of the Spatial+ library.
Opens a Spatial+ object file.
Closes a Spatial+ object file.
Gets header information from a Spatial+ object file.
Finds first object matching a name pattern.
Gets header information from a Spatial+ object file.
Retrieves additional metadata in the GSB file.