跳转至
🎉 Apache Sedona 1.9.1 已正式发布!🗺️ 新增 Geography SQL 函数、Box2D 与 Box3D 类型、栅格 Python UDF 等。查看发布说明 →

ST_GeogFromEWKT

Introduction: Construct a Geography from OGC Extended WKT.

Format:

ST_GeogFromEWKT (EWkt: String)

Return type: Geography

Since: v1.9.1

Example:

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

Output:

LINESTRING (0 0, 3 3, 4 4)

The SRID parsed from the EWKT string (here 4326) is attached to the resulting geography.