GDLSGC - geographicdeterminationlibrary - 2024.00

Geographic Determination Library Reference for Windows and z/OS

Product type
Software
Portfolio
Locate
Product family
GeoStan Geocoding Suite
Product
GeoStan Geocoding Suite > Geographic Determination Library
Version
2024.00
Language
English
Product name
GeoStan Geocoding Suite
Title
Geographic Determination Library Reference for Windows and z/OS
Copyright
2024
First publish date
1994
Last updated
2024-05-09
Published on
2024-05-09T00:55:21.277227

Returns the coordinates with which a shape of a given type is created.

Syntax

05 GDL-SHAPE-GET-COORDS.
      10 GDL-SGC-HANDLE PIC S9(09) BINARY.
      10 GDL-SGC-SHAPE PIC S9(09) BINARY.
      10 GDL-SGC-TYPE PIC S9(09) BINARY.
      10 GDL-SGC-X-POINT COMP-2.
      10 GDL-SGC-Y-POINT COMP-2.
      10 GDL-SGC-POINTS-PER-PART PIC S9(09) BINARY.
      10 GDL-SGC-PART-COUNT PIC S9(09) BINARY.
      10 GDL-SGC-MAX-POINTS PIC S9(09) BINARY.
      10 GDL-SGC-MAX-PARTS PIC S9(09) BINARY.
      *
      CALL "GDLSGC"
      USING GDL-SHAPE-GET-COORDS, GDL-RETURN-CODE.

Arguments

GDL-SGC-HANDLE

The gdlHandle initialized by GDLINIT (GDL-INIT- HANDLE). Input.

GDL-SGC-SHAPE

The shape from which to get coordinates. Input.

GDL-SGC-TYPE

The type of shape being examined. Output.

Constants:

GDL-POINT
GDL-LINE
GDL-POLYGON

GDL-SGC-X-POINT

An array of x coordinates in decimal degrees. Output.

GDL-SGC-Y-POINT

An array of y coordinates in decimal degrees. Output.

GDL-SGC-POINTS-PER-PART

An array of long integers indicating the number of points in each part. Output.

GDL-SGC-PART-COUNT

The number of parts. Output.

GDL-SGC-MAX-POINTS

The maximum number of points that fit into the x and y arrays above. Input.

GDL-SGC-MAX-PARTS

The maximum number of parts that fit into the pointsPerPart array above. Input.

Return Values

GDL-OK Success
GDL-ERROR An internal error occurred

Prerequisites

None.

Alternates

None.