Syntax - Advanced SQL Engine - Teradata Database

Geospatial Data Types

Product
Advanced SQL Engine
Teradata Database
Release Number
17.05
17.00
Published
June 2020
Language
English (United States)
Last Update
2021-01-23
dita:mapPath
vci1556127188517.ditamap
dita:ditavalPath
lze1555437562152.ditaval
dita:id
B035-1181
lifecycle
previous
Product Category
Teradata Vantageā„¢
SYSSPATIAL.SphericalDistance ( lat1, lon1, lat2, lon2 )
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.