Skip to content
🌵SedonaDB (Rust) 0.3.0 is out now, featuring larger-than-memory spatial joins, and row-level CRS!

ST_GeogFromWKB

Introduction: Construct a Geography from WKB Binary.

Format:

ST_GeogFromWKB (Wkb: Binary)

Return type: Geography

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)