Post date: Sep 10, 2014 10:23:48 PM
I have figured out how to use a local shapefile as the spatial extent for querying a webservice in webgis. I wrote a Python script that unpacks the shapefile from a zip file and returns the results in a feature set. Webgis includes the capability to view the queried web services on a map using the spatial extent of the aoi feature. If the user uses a webservice as the aoi, it is easy to add this service to the array of webservices that is displayed on the map. I had hoped to also display an outline of the local aoi but cannot find a way to do this. I may be close, but the error lies somewhere deep inside the ArcGIS API. I am giving up on this for now. I put the sample code into a page called LocalFeature.htm so that I may take up this challenge at another time.
Meanwhile, I added a header row to the map page. This area displays the name of the webservice providing the AOI if it is a webservice AOI and a warning stating that local AOI"s cannot be displayed (if the AOI is local).