Skip to main content
Construct a Point geometry from WKB string or Binary and an optional SRID. This function also supports EWKB format.
Returns null if geometry is not of type Point.

Signatures

Parameters

Wkb
String
required
A Well-Known Binary (WKB) representation of a geometry.
srid
Integer
Spatial Reference Identifier.

Return type

The resulting geometry.

Example