Skip to content

Latest commit

 

History

History
28 lines (20 loc) · 578 Bytes

tosphericalgeography.md

File metadata and controls

28 lines (20 loc) · 578 Bytes
description
This section contains reference documentation for the toSphericalGeography function.

toSphericalGeography

Converts a Geometry object to a spherical geography object.

Signature

toSphericalGeography(geometryObject)

Usage Examples

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

{% hint style="info" %} You can create geometry objects using the STPOINT and ST_GeomFromText functions. {% endhint %}