天天看點

Oracle Spatial 空間分析操作函數——SDO_GEOM.SDO_NN

SDO_NN( sdo_Geometry1, sdo_Geometry2, ‘sdo_num_res’, Tolerance ):用于傳回幾何體sdo_Geometry2周邊附近有什麼其他幾何體集。

參數說明:

  sdo_Geometry1,sdo_Geometry2為空間資料對應的幾何對象。

  Tolerance: 容許的精度範圍;

  sdo_num_res=n: 表示傳回n個幾何體,=1表示隻傳回一個。