<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: QUERY ALL ON MULITPLE MAP SERVICE REST ENDPOINT LAYERS ALL AT ONCE in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/query-all-on-mulitple-map-service-rest-endpoint/m-p/176397#M4407</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I had a task before, I&amp;nbsp; needed to create multiple rings and query ( beffer ,clip and query), I used recursive function, I&amp;nbsp; wonder if&amp;nbsp; you could&amp;nbsp; try&amp;nbsp; recursive for your task.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 18 Jan 2013 11:44:44 GMT</pubDate>
    <dc:creator>DeminHu</dc:creator>
    <dc:date>2013-01-18T11:44:44Z</dc:date>
    <item>
      <title>QUERY ALL ON MULITPLE MAP SERVICE REST ENDPOINT LAYERS ALL AT ONCE</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/query-all-on-mulitple-map-service-rest-endpoint/m-p/176390#M4400</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have multiple map services, Capital Improvement Projects, Water (stuff), Wastewater (stuff) ,etc. etc.&amp;nbsp; Each of these map services may have lots of layers...&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;We want to build a tool that will identify anything within a polygon, from many map services and many layers on each map service.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would like to do some kind of query all or identify all (for a POLYGON) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;What is the best approach...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I cheated initially by pre-processing and make a phony feature class with the assets from all those other areas into a single feature class and doing a single query on this layer, but this is growing too big and now I have a mix of points, lines, polygons.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can arcgis silverlight identifytask work on multiple layer ids?&amp;nbsp; Can you identify on a POLYGON AOI instead of just a point?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Oct 2010 23:29:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/query-all-on-mulitple-map-service-rest-endpoint/m-p/176390#M4400</guid>
      <dc:creator>AnastasiaAourik</dc:creator>
      <dc:date>2010-10-08T23:29:02Z</dc:date>
    </item>
    <item>
      <title>Re: QUERY ALL ON MULITPLE MAP SERVICE REST ENDPOINT LAYERS ALL AT ONCE</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/query-all-on-mulitple-map-service-rest-endpoint/m-p/176391#M4401</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Can arcgis silverlight identifytask work on multiple layer ids?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes, you can either identify on all layers of a map service or you can specify the layers by the LayerIds parameter.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt; &lt;BR /&gt;Can you identify on a POLYGON AOI instead of just a point? &lt;BR /&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes, the valid geometry types are Envelope, Point, Multipoint, Polyline, or Polygon.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt; &lt;BR /&gt;I have multiple map services&lt;BR /&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Here, you need multiple identify tasks.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In this &lt;/SPAN&gt;&lt;A href="http://resources.esri.com/arcgisserver/apis/silverlight/index.cfm?fa=codeGalleryDetails&amp;amp;scriptID=16959"&gt;sample&lt;/A&gt;&lt;SPAN&gt; , the identify user control is identifying on all visible map services.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You can test it on these &lt;/SPAN&gt;&lt;A href="http://broux.dominique.free.fr/Silverlight/WebMapViewer/WebMapViewer.html?webmapsquery=Culture%20Recreation"&gt;webmaps&lt;/A&gt;&lt;SPAN&gt; (for example).&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 09 Oct 2010 09:27:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/query-all-on-mulitple-map-service-rest-endpoint/m-p/176391#M4401</guid>
      <dc:creator>DominiqueBroux</dc:creator>
      <dc:date>2010-10-09T09:27:39Z</dc:date>
    </item>
    <item>
      <title>Re: QUERY ALL ON MULITPLE MAP SERVICE REST ENDPOINT LAYERS ALL AT ONCE</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/query-all-on-mulitple-map-service-rest-endpoint/m-p/176392#M4402</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Dominique!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I now have the IdentifyTask for all layers - I actually can even pass a list of layers to accept.&amp;nbsp; Now, I deal with the performance of this depending on how many records found.&amp;nbsp; Seems like identify task was not really indended for searching thousands of points within a large polygon - Wouldn't want to use it to find all fire hydrants and valves in a zip code, for instance. Thus, I am not switching to creating a GP TOOL that will perform this task instead.&amp;nbsp; I hope it will be easy to implement and use in my silverlight app. Can you direct me to a sample gp tool that does this spatial intersection task (passing in a polygon as a parameter) and returning a featureset???&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 31 Oct 2010 13:46:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/query-all-on-mulitple-map-service-rest-endpoint/m-p/176392#M4402</guid>
      <dc:creator>AnastasiaAourik</dc:creator>
      <dc:date>2010-10-31T13:46:23Z</dc:date>
    </item>
    <item>
      <title>Re: QUERY ALL ON MULITPLE MAP SERVICE REST ENDPOINT LAYERS ALL AT ONCE</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/query-all-on-mulitple-map-service-rest-endpoint/m-p/176393#M4403</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Anastasia,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Instead of creating a GP tool, it could be easier to use a spatial query.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is a sample of a spatial query based on a geometry drawn interactively:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#SpatialQuery"&gt;&lt;SPAN style="font-size:3;"&gt;http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#SpatialQuery&lt;/SPAN&gt;&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is a sample of a query based on attributes:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#AttributeQuery"&gt;&lt;SPAN style="font-size:3;"&gt;http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#AttributeQuery&lt;/SPAN&gt;&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It's also possible to combine these 2 types of query.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If, for any reason, you need a GP tool, I think the closest sample is the 'ClipFeatures' sample which is returning all features within a buffer around a line:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#ClipFeatures"&gt;http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#ClipFeatures&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Nov 2010 14:49:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/query-all-on-mulitple-map-service-rest-endpoint/m-p/176393#M4403</guid>
      <dc:creator>DominiqueBroux</dc:creator>
      <dc:date>2010-11-03T14:49:31Z</dc:date>
    </item>
    <item>
      <title>Re: QUERY ALL ON MULITPLE MAP SERVICE REST ENDPOINT LAYERS ALL AT ONCE</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/query-all-on-mulitple-map-service-rest-endpoint/m-p/176394#M4404</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;dbroux,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am looking for the sample that you reference(10-09-10) for mutiple map service for the Identify Task but the url is no longer valid. Does this example still exist?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Feb 2011 21:27:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/query-all-on-mulitple-map-service-rest-endpoint/m-p/176394#M4404</guid>
      <dc:creator>AngelGonzalez</dc:creator>
      <dc:date>2011-02-11T21:27:31Z</dc:date>
    </item>
    <item>
      <title>Re: QUERY ALL ON MULITPLE MAP SERVICE REST ENDPOINT LAYERS ALL AT ONCE</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/query-all-on-mulitple-map-service-rest-endpoint/m-p/176395#M4405</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Since the old resource center has been deprecated, the sample has been moved to the arcgis.com code gallery : &lt;/SPAN&gt;&lt;A href="http://www.arcgis.com/home/item.html?id=4a5af1f10e214a908ece9d18c01a2d25"&gt;http://www.arcgis.com/home/item.html?id=4a5af1f10e214a908ece9d18c01a2d25&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 20 Feb 2011 15:53:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/query-all-on-mulitple-map-service-rest-endpoint/m-p/176395#M4405</guid>
      <dc:creator>DominiqueBroux</dc:creator>
      <dc:date>2011-02-20T15:53:11Z</dc:date>
    </item>
    <item>
      <title>Re: QUERY ALL ON MULITPLE MAP SERVICE REST ENDPOINT LAYERS ALL AT ONCE</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/query-all-on-mulitple-map-service-rest-endpoint/m-p/176396#M4406</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;in your code, which I still cannot get to work (no layers are shown with the new link), you are looping through each layer and executing Async each time. It is not clear how you are handling the completed event and allowing it to finish before executing the next layer. Can you clarify?&lt;BR /&gt;.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Not sure about what is not working in your case? &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The approach of the sample is to create one Identify Task by visible layers and to execute them concurrently.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The features returned by the identify tasks are added in the result datagrid in the completed event so, at the end of the process, the datagrid contains the results for all layers.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; Only the first completed event (flag needReset) clears the datagrid before populating the datagrid with the first features. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt; I've seen Jennifer talk about chaining Async in the completed code for additional Identifies but if you have several/many map services, that makes it unworkable, I believe.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;This approach should work as well but should be slower since the identify tasks are executed sequentially.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Jan 2013 06:20:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/query-all-on-mulitple-map-service-rest-endpoint/m-p/176396#M4406</guid>
      <dc:creator>DominiqueBroux</dc:creator>
      <dc:date>2013-01-18T06:20:19Z</dc:date>
    </item>
    <item>
      <title>Re: QUERY ALL ON MULITPLE MAP SERVICE REST ENDPOINT LAYERS ALL AT ONCE</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/query-all-on-mulitple-map-service-rest-endpoint/m-p/176397#M4407</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I had a task before, I&amp;nbsp; needed to create multiple rings and query ( beffer ,clip and query), I used recursive function, I&amp;nbsp; wonder if&amp;nbsp; you could&amp;nbsp; try&amp;nbsp; recursive for your task.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Jan 2013 11:44:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/query-all-on-mulitple-map-service-rest-endpoint/m-p/176397#M4407</guid>
      <dc:creator>DeminHu</dc:creator>
      <dc:date>2013-01-18T11:44:44Z</dc:date>
    </item>
  </channel>
</rss>

