Query widget issue: Just show features only contained in polygon

229
1
02-04-2022 11:04 AM
JohnSasso2
Occasional Contributor

I'm starting to play around with the Query widget with a parcel feature layer.  So with said widget, I enabled Attribute filter and applied "(ACREAGE >= ?)" (so user can enter a value).  Enabled Spatial filter, and in "Geometries from a map" chose the map widget and checked the drawing tools.  As shown below, in my query I get back parcels which include those partially contained in the drawn polygon.  I just want those >>within<< the polygon I draw.   The documentation online is not clear how to do this, and searches of this community did not help address.   Solution????

Thanks!

JohnSasso2_0-1644001287387.png

 

0 Kudos
1 Reply
TonghuiMing
Esri Regular Contributor

@JohnSasso2 For Query, it only supports either intersecting with a custom drawing graphic or having the spatial relationship ('contain' being one of them) against a selected layer. You cannot configure it with a special spatial relationship (aka. contain in your case) + drawing at the same time.

 

They are stated in the official documentation as two separate functions:

TonghuiMing_0-1657619958952.png

TonghuiMing_1-1657619970413.png

 

0 Kudos