Customer Service | Training | Contact Us
Welcome!
Login
Search Options   products areas display

Which products should be considered?

All Products

ArcCAD
ArcEditor
ArcExplorer
ArcGIS Engine
ArcGIS Explorer
ArcGIS Image Server
ArcGIS Mobile
ArcGIS Server
ArcIMS
ArcInfo Desktop
ArcInfo Workstation
ArcLogistics Route
ArcPad
ArcPad Application Builder
ArcReader
ArcSDE
ArcView
ArcView 3.x
ArcWeb Services APIs
ArcWeb Toolbar for ArcGIS
Atlas GIS
BusinessMap
BusinessMap Pro
GIS Portal Toolkit
Job Tracking for ArcGIS
Maplex
MapObjects -- Java
MapObjects -- Windows
MapObjects IMS
MapObjects LT
MapStudio
Military Overlay Editor
NetEngine
PC ARC/INFO & DAK
PLTS
RouteMap
RouteMap IMS
SDE
Tracking Server

    Remember these settings for each visit More info
You are here:

Technical Article   Problem:  Incorrect results returned when querying st_geometry attributes in Oracle when the access path is the spatial index

Article ID: 34527
Bug Id: N/A
Software:  ArcSDE 9.2, 9.3, 9.3.1
Platforms: N/A

Description

Incorrect results are returned when querying an st_geometry attribute in Oracle if the access path to produce the result set uses the spatial index. ESRI Binary and Oracle SDO_GEOMETRY spatial storage types are unaffected.

Cause

The cause of the problem is a bug in Oracle 10gR2 and 11gR1 (number 6756089 for UNIX Platforms and 6867052 for Windows):

"USING A DBMS TYPE IN OCI AND FLOATS ARE BEING ROUNDED OFF."

When constructing an st_geometry object, if the precision of the object's envelope coordinates (minx, miny, maxx, maxy) exceed five decimal places, Oracle truncates the value of the attribute at the five decimal. The truncation results in data corruption because the precision of the coordinate values are lost.

In addition, because the st_geometry envelope attributes have been truncated, when the object is indexed, the entries in the spatial index are incorrect. The inaccurate index entries can lead to incorrect results when querying the st_geometry attribute and the access path is the spatial index.

From ESRI's testing, currently this affects Oracle 10.2.0.2, 10.2.0.3, 10.2.0.4, and 11.1.0.6.

For additional information on the issue, search Oracle's Metalink Bug Database using bug number 6756089 (UNIX) or 6867052 (Windows).

Solution or Workaround

The only solution to the problem is to apply Oracle Patch 6756089 or 6867052.

The patch must be obtained from Oracle's, Metalink Web site.

To locate the patch on Metalink, perform a 'Quick Find', select 'Patch Number' from the drop-down list of sources to search, and enter the patch number 6756089 or 6867052.

When the patch is located, select the appropriate platform, and download the patch. Follow the instructions in the README file on how to install the patch.

If the platform being used is currently not available, continue to check Metalink until the patch becomes available, or contact Oracle support for details on when the platform patch will be released.


    Related Information


    Created: 3/10/2008
    Last Modified: 10/16/2009

    This website's graphical display is now viewable only with W3C standards-compliant browsers, but the content is accessible to all browsers and Internet devices. View our supported browser matrix for more information on our website display.