toSphericalGeography
This section contains reference documentation for the toSphericalGeography function.
Was this helpful?
This section contains reference documentation for the toSphericalGeography function.
Converts a Geometry object to a spherical geography object.
toSphericalGeography(geometryObject)
select toSphericalGeography(
STPOINT(-122, 37)
) AS value
from ignoreMe 80c05e8000000000004042800000000000
You can create geometry objects using the STPOINT and ST_GeomFromText functions.
Was this helpful?
Was this helpful?

