Skip to content

Latest commit

 

History

History
28 lines (20 loc) · 598 Bytes

File metadata and controls

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

toGeometry

Converts a spherical geographical object to a Geometry object.

Signature

toGeometry(geographyObject)

Usage Examples

select toGeometry(
    STPOINT(-122, 37, 1)
) AS value
from ignoreMe 
value
00c05e8000000000004042800000000000

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