GSGDATUM - geostan_1 - 2024.01

GeoStan Geocoding Suite Reference for Windows, Linux, and z/OS

Product type
Software
Portfolio
Locate
Product family
GeoStan Geocoding Suite
Product
GeoStan Geocoding Suite > GeoStan
Version
2024.01
Language
English
Product name
GeoStan
Title
GeoStan Geocoding Suite Reference for Windows, Linux, and z/OS
Copyright
2024
First publish date
1994
Last updated
2024-07-29
Published on
2024-07-29T23:01:18.924000

Deprecated. Returns the current datum setting.

Syntax

01 GSID                            PIC S9(9) BINARY.
01 GSFUNSTAT                  PIC S9(9) BINARY.
*
CALL "GSGDATUM" USING GSID, GSFUNSTAT.

Arguments

GSID   ID returned by GSINIT for the current instance of GeoStan. Input.

GSFUNSTAT   Return value for the procedure. Output.

Return Values

Returns the current datum setting. Valid settings are DATUM-NAD27 and DATUM-NAD83.

Prerequisites

GSSDATUM

Notes

This procedure returns the datum currently used by GeoStan in calculating address coordinates. This setting affects only the numeric coordinates returned by GSDATGET for the latitude and longitude of an address.

A datum is a mathematical model of the Earth used to calculate the coordinates on any map, chart, or survey system. The North American Datum (NAD) is the official reference ellipsoid used for the primary geodetic network in North America.

Although the return values are DATUM_NAD27 and DATUM_NAD83, note that GTD uses WGS84 instead of NAD83. These two coordinate systems are compatible.