17.10 - SpheroidalDistance Syntax - Advanced SQL Engine - Teradata Database

Teradata Vantageā„¢ - Geospatial Data Types

Product
Advanced SQL Engine
Teradata Database
Release Number
17.10
Release Date
July 2021
Content Type
Programming Reference
Publication ID
B035-1181-171K
Language
English (United States)
SYSSPATIAL.SpheroidalDistance ( lat1, lon1, lat2, lon2 [, semimajor, invf ] )

Syntax Elements

lat1, lon1

the latitude and longitude of the first point. The data type of both is FLOAT.

lat2,lon2

the latitude and longitude of the second point.

The data type of lat2 and lon2 is FLOAT.

semimajor

an optional FLOAT for the length in meters of the semimajor axis of the spheroid.

invf

an optional FLOAT for the inverse flattening ratio of the spheroid.