Having a OR query in the Query widget for attribute and spatial filtering

463
1
07-12-2021 10:48 PM
by Anonymous User
Not applicable

Hi all,

I was wondering if it was possible to have one instance in the query widget in which you can use an attribute filter or a spatial filter. Currently, if I want to filter out features within a data for instance, I get no records because I did not specify a spatial location vice versa. I have been looking around but could not find a solution though I think it is not a hard thing to do?

Also it would be great to have one query instance to filter multiple layers. Otherwise the panel is the opposite of user friendly, see image below.

GeertOffenberg1_0-1626155238562.png

Thanks in advance! 

Geert Offenberg

 

0 Kudos
1 Reply
TonghuiMing
Esri Regular Contributor

Hi @Anonymous User - you can utilize the "Return all features" for the cases where you want to filter by attribute but no spatial filter is needed:

TonghuiMing_0-1626157316823.png

We do not have the OR logic for attribute filter vs. spatial filter for now.

 

Hope it helps,

Tonghui

0 Kudos