Skip to content
🎉 Apache Sedona 1.8.1 is now available! Check out the new features and improvements.

ST_GeogFromWKB

Introduction: Construct a Geography from WKB Binary.

Format:

ST_GeogFromWKB (Wkb: Binary)

Since: v1.8.0

SQL Example

SELECT ST_GeogFromWKB([01 02 00 00 00 02 00 00 00 00 00 00 00 84 d6 00 c0 00 00 00 00 80 b5 d6 bf 00 00 00 60 e1 ef f7 bf 00 00 00 80 07 5d e5 bf])

Output:

LINESTRING (-2.1 -0.4, -1.5 -0.7)