Skip to content
πŸŽ‰ SedonaDB 0.4.0 is out now! πŸ—ΊοΈ Python DataFrame API, R dplyr, Geography support & GPU-accelerated spatial joins. Read the release blog β†’

ST_GeogFromEWKT

Introduction: Construct a Geography from OGC Extended WKT.

Format:

ST_GeogFromEWKT (EWkt: String)

Return type: Geography

Since: v1.8.0

SQL example:

SELECT ST_AsEWKT(ST_GeogFromEWKT('SRID=4326; LINESTRING (0 0, 3 3, 4 4)'))

Output:

SRID=4326; LINESTRING (0 0, 3 3, 4 4)