54.7 POINTファンクション
このファンクションは、(p_lon
, p_lat
)で点を作成します。
構文
APEX_SPATIAL.POINT (
p_lon IN NUMBER,
p_lat IN NUMBER,
p_srid IN t_srid DEFAULT c_wgs_84 )
RETURN mdsys.sdo_geometry;
パラメータ
パラメータ | 説明 |
---|---|
p_lon |
経度の位置。 |
p_lat |
緯度の位置。 |
p_srid |
参照座標系(デフォルトはc_wgs_84)。 |
戻り値
戻り値 | 説明 |
---|---|
mdsys.sdo_geometry |
点のジオメトリ。 |
例
この例は、(10, 50)の点を戻す問合せです。
select apex_spatial.point(10, 50) from dual;
この例は、次の例と同じです。
select mdsys.sdo_geometry(2001, 4326, sdo_point_type(10, 50, null), null, null) from dual;
親トピック: APEX_SPATIAL