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

intlu GsGetDatum ( GsId gs );

Arguments

gs   ID returned by GsInit_r for the current instance of GeoStan. Input.

Return Values

Current datum setting. Valid settings are DATUM_NAD27 and DATUM_NAD83 (default).

Prerequisites

GsSetDatum

Notes

This function returns the datum currently used by GeoStan in calculating address coordinates. This setting affects only the numeric coordinates returned by GsDataGet 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 TomTom uses WGS84 instead of NAD83. These two coordinate systems are compatible.