description |
---|
This section contains reference documentation for the ST_AsBinary function. |
Returns the WKB representation of the geometry.
ST_AsBinary(geometryObject)
select ST_AsBinary(
STPOINT(-122, 37)
) AS value
from ignoreMe
value |
---|
0000000001c05e8000000000004042800000000000 |
select ST_AsBinary(
ST_GeogFromText('LINESTRING (30 10, 10 30, 40 40)')
) AS value
from ignoreMe
value |
---|
000000000200000003403e00000000000040240000000000004024000000000000403e00000000000040440000000000004044000000000000 |