Spatial Filter for ServiceChildLayer.Query method

880
1
03-21-2011 02:16 PM
TorrinHultgren
New Contributor III
Both the SOAP and REST interface for ArcGIS Server services natively support a spatial filter on the query method, and have since version 9.3.1.
http://services.arcgisonline.com/ArcGIS/SDK/REST/index.html?query.html
But the ArcGIS Explorer SDK ServiceChildLayer.Query method only accepts a simple attribute whereclause.
http://help.arcgis.com/en/arcgisexplorer/1500/sdk/componenthelp/index.html#/Query_Method/000300000tw...
It seems as if all the power in ArcGIS Explorer is with FeatureLayers, and it's great that you can create in-memory FeatureLayers from services, but debilitating that in order to perform a spatial query on a service layer (something that service natively supports if query is enabled) in ArcGIS Explorer, you have to first select ALL of the service layer's features (up to the QueryFeatureLimit, of course) into a FeatureLayer and then perform the spatial query.  Any workarounds or recommendations?
0 Kudos
1 Reply
BillHoney
New Contributor III
This seems to still be the case in the 2500 build, and with AGS server 10.2

Can anyone comment ?
0 Kudos