Skip to main content
Return the Well-Known Binary representation of a geometry

Signatures

ST_AsBinary (A: Geometry)

Parameters

A
Geometry
required
The input geometry.

Return type

The computed result.

Example

SELECT ST_AsBinary(ST_GeomFromWKT('POINT (1 1)'))
0101000000000000000000f87f000000000000f87f