Performing a SPATIALQUERY against an ArcMap service returns incorrect, or unexpected results. More, or less, features are being returned.
ArcMap Server may return unexpected results when 'envelope_intersection' is used within the SPATIALFILTER tag of a SPATIALQUERY request.
<ENVELOPE maxy="30" maxx="30" miny="0" minx="0" />
Get help from ArcGIS experts
Download the Esri Support App