laptop and a wrench

Bug

In ArcSDE on Oracle, an error message is returned when using spatial indexes with ST_Geometry functions.

Last Published: January 17, 2022 No Product Found
Bug ID Number BUG-000141972
SubmittedAugust 5, 2021
Last ModifiedJune 25, 2025
Applies toNo Product Found
Version foundN/A
Operating SystemWindows OS
Operating System Version2019 64 Bit
StatusWill Not Be Addressed

Additional Information

We apologize that we were unable to address this issue within the current product support cycle.  If the issue continues to affect your work in a supported release, please contact Technical Support.

Workaround

Reversing the arguments of the function 'st_intersects' allows the user to get all buildings. However, no spatial index is used and the execution takes much longer, 45 seconds as opposed to 1 second.

Select count (*)

 

From krb.w_bauw_stm punkte

 

Where

 

sde.st_intersects(sde.st_geomfromwkb((

 

Select

 

sde.st_asbinary(sde.st_aggr_union(bezirke.geom))

 

From

 

krb.fd_glk_verw_fe_stm_w5 bezirke

 

Where

 

bezirke.pkey IN(40000235724048, 40000235724042)), 25832), punkte.geom) = 1;

   

Result: COUNT (*) 1147

Steps to Reproduce

Bug ID: BUG-000141972

Software:

  • No Product Found

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options