17.05 - Syntax - Teradata Database

Teradata Vantageā„¢ - Geospatial Data Types

prodname
Advanced SQL Engine
Teradata Database
vrm_release
17.00
17.05
created_date
June 2020
category
Programming Reference
featnum
B035-1181-170K
SYSSPATIAL.SpheroidalDistance ( lat1, lon1, lat2, lon2 [, semimajor, invf ] )
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.