SDO_RELATE Shows Incorrect Results

(Doc ID 2320490.1)

Last updated on OCTOBER 30, 2017

Applies to:

Oracle Spatial and Graph - Version 12.2 and later
Information in this document applies to any platform.

Symptoms

When a Spatial query window is defined using only two points (MDSYS.SDO_ELEM_INFO_ARRAY(1, 1003, 3)), SDO_RELATE returns more results than expected.
When using a Spatial query window with five points to define a rectangle (MDSYS.SDO_ELEM_INFO_ARRAY(1, 1003, 1)),  SDO_RELATE returns the correct results.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms