SpheroidalDistance Syntax - Analytics Database - Teradata Vantage

Geospatial Data Types

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
VMware
Product
Analytics Database
Teradata Vantage
Release Number
17.20
Published
June 2022
ft:locale
en-US
ft:lastEdition
2023-08-30
dita:mapPath
qgk1628112272483.ditamap
dita:ditavalPath
qkf1628213546010.ditaval
dita:id
ghz1472251264557
lifecycle
latest
Product Category
Teradata Vantageā„¢
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.