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

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