ST_MAKEGEOMPOINT(Lakehouse v1)
构造表示具有指定经度和纬度的 Point 的 GEOMETRY 对象。
SQL 语法
Section titled “SQL 语法”ST_MAKEGEOMPOINT(<longitude>, <latitude>)| 参数 | 说明 |
|---|---|
<longitude> |
表示经度的 Double 值。 |
<latitude> |
表示纬度的 Double 值。 |
Geometry。
SQL 示例
Section titled “SQL 示例”SELECT ST_MAKEGEOMPOINT( 7.0, 8.0 ) AS pipeline_point;
┌────────────────┐│ pipeline_point │├────────────────┤│ POINT(7 8) │└────────────────┘
SELECT ST_MAKEGEOMPOINT( -122.3061, 37.554162 ) AS pipeline_point;
┌────────────────────────────┐│ pipeline_point │├────────────────────────────┤│ POINT(-122.3061 37.554162) │└────────────────────────────┘