This section contains reference documentation for the toGeometry function.
Was this helpful?
Converts a spherical geographical object to a Geometry object.
toGeometry(geographyObject)
select toGeometry( STPOINT(-122, 37, 1) ) AS value from ignoreMe
00c05e8000000000004042800000000000
You can create geographical objects using the and functions.