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

ST_GeogFromEWKB

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

Format:

ST_GeogFromEWKB (EWkb: Binary)

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)