32.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;
パラメータ
表32-7 POINTのパラメータ
パラメータ | 説明 |
---|---|
|
経度の位置。 |
|
緯度の位置。 |
|
参照座標系(デフォルトはc_wgs_84)。 |
戻り値
表32-8 POINTファンクションの戻り値
戻り値 | 説明 |
---|---|
|
点のジオメトリ。 |
例
この例は、(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