arrow-left

All pages
gitbookPowered by GitBook
1 of 1

Loading...

toGeometry

This section contains reference documentation for the toGeometry function.

Converts a spherical geographical object to a Geometry object.

hashtag
Signature

toGeometry(geographyObject)

hashtag
Usage Examples

value
circle-info

You can create geographical objects using the and functions.

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

00c05e8000000000004042800000000000

STPOINT
ST_GeogFromText