使用給定的座標值構造Point對象。
文法
geometry ST_Point(float xLon , float yLat);參數
| 參數名稱 | 描述 |
| xLon | 經度。 |
| yLat | 緯度。 |
描述
該函數是OGC標準中ST_MakePoint函數的別名,僅包含x和y。
樣本
SELECT ST_AsText(ST_Point(116,40));
st_astext
---------------
POINT(116 40)
(1 row)
使用給定的座標值構造Point對象。
geometry ST_Point(float xLon , float yLat);| 參數名稱 | 描述 |
| xLon | 經度。 |
| yLat | 緯度。 |
該函數是OGC標準中ST_MakePoint函數的別名,僅包含x和y。
SELECT ST_AsText(ST_Point(116,40));
st_astext
---------------
POINT(116 40)
(1 row)