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

ST_GeogFromEWKB

Introduction: Construct a Geography from EWKB Binary. This function is an alias of ST_GeogFromWKB.

Format:

ST_GeogFromEWKB (EWkb: Binary)

Return type: Geography

Since: v1.8.0

SQL Example

SELECT ST_AsEWKT(ST_GeogFromEWKB([01 02 00 00 20 E6 10 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:

SRID: 4326; LINESTRING (-2.1 -0.4, -1.5 -0.7)