Bug
| Bug ID Number | BUG-000141972 |
|---|---|
| Submitted | August 5, 2021 |
| Last Modified | June 25, 2025 |
| Applies to | No Product Found |
| Version found | N/A |
| Operating System | Windows OS |
| Operating System Version | 2019 64 Bit |
| Status | Will Not Be Addressed |
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
Bug ID: BUG-000141972
Software:
Get help from ArcGIS experts
Download the Esri Support App