arrow-left

All pages
gitbookPowered by GitBook
1 of 1

Loading...

toSphericalGeography

This section contains reference documentation for the toSphericalGeography function.

Converts a Geometry object to a spherical geography object.

hashtag
Signature

toSphericalGeography(geometryObject)

hashtag
Usage Examples

value
circle-info

You can create geometry objects using the and functions.

select toSphericalGeography(
    STPOINT(-122, 37)
) AS value
from ignoreMe 

80c05e8000000000004042800000000000

STPOINT
ST_GeomFromText