description |
---|
This section contains reference documentation for the toGeometry function. |
Converts a spherical geographical object to a Geometry object.
toGeometry(geographyObject)
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 %}