<?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: How to create Spatial Query with multiple layers? in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-to-create-spatial-query-with-multiple-layers/m-p/714464#M18363</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If what you want is to click on the map and select all features from several layers, you will want to use the "FindTask".&amp;nbsp; This allows for a range of layer id's in one service.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If what you want is to send in an attribute, street name for example, and find everything in several layers that references that street name, you can use the "QueryTask", but you will have to send in one layer at a time, collect the results into a custom class, then run a query on the next layer and add those result to your custom class and repeat until all of your layers have been checked.&amp;nbsp; When all layers have been collected, bind to your custom class.&amp;nbsp; QueryTask doesn't allow multiple layers by default because most people have completely different attributes in their layers.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Good Luck&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 13 Mar 2014 17:29:57 GMT</pubDate>
    <dc:creator>BrentHoskisson</dc:creator>
    <dc:date>2014-03-13T17:29:57Z</dc:date>
    <item>
      <title>How to create Spatial Query with multiple layers?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-to-create-spatial-query-with-multiple-layers/m-p/714463#M18362</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;my challenge in my work, how to create spatial query with multiple layers, i want to crate one button for spatial query tool, to make a query in three layers like this "Regions, Governorates, Security Services", when i want to select a specific region name layer it automatic update list for governorates only for this Region, also auto update list value for Security Services layer that contains for example (Police Station, Security Patrol, Traffic.....etc), i do not have any background for developing arcgis for silverlight or api for silverlight,only i know it depending on c# language, so can any one helping me, i just want to a guideline, and if any one want to the layers to test it, i can uploading it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;thank you&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 09 Mar 2014 06:49:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-to-create-spatial-query-with-multiple-layers/m-p/714463#M18362</guid>
      <dc:creator>MostafaElhalwagy1</dc:creator>
      <dc:date>2014-03-09T06:49:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to create Spatial Query with multiple layers?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-to-create-spatial-query-with-multiple-layers/m-p/714464#M18363</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If what you want is to click on the map and select all features from several layers, you will want to use the "FindTask".&amp;nbsp; This allows for a range of layer id's in one service.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If what you want is to send in an attribute, street name for example, and find everything in several layers that references that street name, you can use the "QueryTask", but you will have to send in one layer at a time, collect the results into a custom class, then run a query on the next layer and add those result to your custom class and repeat until all of your layers have been checked.&amp;nbsp; When all layers have been collected, bind to your custom class.&amp;nbsp; QueryTask doesn't allow multiple layers by default because most people have completely different attributes in their layers.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Good Luck&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Mar 2014 17:29:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-to-create-spatial-query-with-multiple-layers/m-p/714464#M18363</guid>
      <dc:creator>BrentHoskisson</dc:creator>
      <dc:date>2014-03-13T17:29:57Z</dc:date>
    </item>
  </channel>
</rss>

