Wrong Results When Using SDO_NN Queries
(Doc ID 2275886.1)
Last updated on JULY 17, 2020
Applies to:
Oracle Spatial and Graph - Version 11.2.0.4 to 12.1.0.2 [Release 11.2 to 12.1]Information in this document applies to any platform.
Symptoms
On : 11.2.0.4 version, Query Issues
ACTUAL BEHAVIOR
---------------
select
bl.g3e_fid g3e_fid_bl, SDO_NN_DISTANCE(1) as dist, r.g3e_fid as g3e_fid_rohr
from
user.b$blatt_i_pt bl , user.b$rohr_i_ln r
where SDO_NN(r.G3E_GEOMETRY, bl.G3E_GEOMETRY, 'sdo_num_res=2', 1)= 'TRUE'
and bl.g3e_fid = 2034159;
the result is :
G3E_FID_BL DIST G3E_FID_ROHR
---------- ---------- ------------
2034159 1768.79311 32973096
2034159 1768.96916 32973097
the correct result for column G3E_FID_ROHR should be:
G3E_FID_ROHR
------------
48490941
48489656
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Cause |
Solution |
References |