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.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.