SphericalDistance 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.SphericalDistance ( lat1, lon1, lat2, lon2 )

Syntax Elements

lat1, lon1
The latitude and longitude of the first point on the planet.

The data type of lat1 and lon1 is FLOAT.

lat2, lon2
The latitude and longitude of the second point on the planet.

The data type of lat2 and lon2 is FLOAT.