<?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 set spatial filter for a featurelayer in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-set-spatial-filter-for-a-featurelayer/m-p/24486#M2134</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hi Kelly,&lt;BR /&gt;&lt;BR /&gt;I have tried the following code and it was working fine in my scenario. But when i buffer a point for a radius of 10 KM using geometry service and pass the resultant polygon (in my case a circle) to the query filter it doesn't filter. But the same polygon if i convert to extent it works fine. Any idea why this behavior is?&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Ravi.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Ravi, did you set up a proxy server and reference it in your code?&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://resources.esri.com/help/9.3/ArcGISServer/apis/javascript/arcgis/help/jshelp_start.htm#jshelp/ags_proxy.htm"&gt;http://resources.esri.com/help/9.3/ArcGISServer/apis/javascript/arcgis/help/jshelp_start.htm#jshelp/ags_proxy.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any querystring longer than 2000 characters just won't work due to Web browser limitations.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 13 Aug 2010 16:47:44 GMT</pubDate>
    <dc:creator>BenStuder</dc:creator>
    <dc:date>2010-08-13T16:47:44Z</dc:date>
    <item>
      <title>how to set spatial filter for a featurelayer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-set-spatial-filter-for-a-featurelayer/m-p/24481#M2129</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am able to set spatial filters by providing input geometry and spatial relationship to a FeatureLayer in snapshot mode in silverlight api. How do i do this in JSAPI 2.0? The feature layer doesnt have any geometry property. Is there an elegant way of achieving this by some other means?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Ravi&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Apr 2010 16:08:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-set-spatial-filter-for-a-featurelayer/m-p/24481#M2129</guid>
      <dc:creator>RaviKonaparthi</dc:creator>
      <dc:date>2010-04-26T16:08:24Z</dc:date>
    </item>
    <item>
      <title>how to set spatial filter for a featurelayer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-set-spatial-filter-for-a-featurelayer/m-p/24482#M2130</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ravi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can use the queryFeatures method to query the feature layer using a spatial filter. The queryFeatures method takes in input query that has a geometry property you can use to define the filter geometry. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/EN/webapi/javascript/arcgis/help/jsapi_start.htm#jsapi/query.htm"&gt;http://help.arcgis.com/EN/webapi/javascript/arcgis/help/jsapi_start.htm#jsapi/query.htm&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Apr 2010 17:05:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-set-spatial-filter-for-a-featurelayer/m-p/24482#M2130</guid>
      <dc:creator>KellyHutchins</dc:creator>
      <dc:date>2010-04-26T17:05:50Z</dc:date>
    </item>
    <item>
      <title>how to set spatial filter for a featurelayer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-set-spatial-filter-for-a-featurelayer/m-p/24483#M2131</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi kelly, thanks for the input. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am actually looking for an equivalent of spatial filter (geometry) functionality provided in flex and silverlight api for a FeatureLayer. If I use queryFeatures method to query the feature layer, then I have to deal with results. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is not so for a featureLayer in silverlight and flex api where I can set the geometry and spatialrelationship and it works!. Its pretty straightforward there.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have noticed that jsapi 2.0 provides a datalayer class (esri.tasks.DataLayer) which has geometry and spatialrelationship property. But I am unable to get it to work and couldnt find any sample which uses a datalayer. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Ravi&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Apr 2010 13:35:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-set-spatial-filter-for-a-featurelayer/m-p/24483#M2131</guid>
      <dc:creator>RaviKonaparthi</dc:creator>
      <dc:date>2010-04-27T13:35:46Z</dc:date>
    </item>
    <item>
      <title>how to set spatial filter for a featurelayer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-set-spatial-filter-for-a-featurelayer/m-p/24484#M2132</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ravi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;We don't have a method directly on the feature layer to apply a spatial filter - I don't see one in Flex either.&amp;nbsp; However if you want to apply a spatial query directly to the feature layer one approach would be to add a feature layer in selection mode then use selectFeatures to perform a spatial query. Here's a sample that shows how this works, here only features within the specified extent are drawn on the map.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;nbsp; &amp;lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"&amp;gt; 
&amp;lt;html&amp;gt; 
&amp;nbsp; &amp;lt;head&amp;gt; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8"/&amp;gt; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;title&amp;gt;FeatureLayer On Demand&amp;lt;/title&amp;gt; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;script type="text/javascript"&amp;gt;djConfig = { parseOnLoad:true };&amp;lt;/script&amp;gt; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;script type="text/javascript" src="http://serverapi.arcgisonline.com/jsapi/arcgis/?v=2.0"&amp;gt;&amp;lt;/script&amp;gt; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;link rel="stylesheet" type="text/css" href="http://serverapi.arcgisonline.com/jsapi/arcgis/2.0/js/dojo/dijit/themes/tundra/tundra.css"&amp;gt; 

&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;script type="text/javascript"&amp;gt; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dojo.require("esri.map");
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dojo.require("esri.layers.FeatureLayer");
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dojo.require("dijit.form.Button");
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dojo.require("dijit.Dialog");

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var mapLayers = [];&amp;nbsp; //array of layers in client map
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var map;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; function init() {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var extent = new esri.geometry.Extent({"xmin":-13337231.937022427,"ymin":3914529.1302062804,"xmax":-12909184.578625461,"ymax":4220277.2433469705,"spatialReference":{"wkid":102100}});
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; map = new esri.Map("map", { extent:extent});
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dojo.connect(map, "onLoad", initOperationalLayer);

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var imagery = new esri.layers.ArcGISTiledMapServiceLayer("http://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer");
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; map.addLayer(imagery);

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; function initOperationalLayer(map) {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var featureLayer = new esri.layers.FeatureLayer("http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/Earthquakes/Since_1970/MapServer/0",{
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mode: esri.layers.FeatureLayer.MODE_SELECTION,
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; outFields: ["*"]
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; });
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; map.addLayer(featureLayer);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var extent = new esri.geometry.Extent({"xmin":-13228997.10497058,"ymin":3961002.843403707,"xmax":-13014973.425772188,"ymax":4113876.899973986,"spatialReference":{"wkid":102100}});
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var query = new esri.tasks.Query();
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; query.geometry = extent;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; featureLayer.selectFeatures(query,esri.layers.FeatureLayer.SELECTION_NEW);

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }



&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dojo.addOnLoad(init);
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/script&amp;gt; 
&amp;nbsp; &amp;lt;/head&amp;gt; 
&amp;nbsp; &amp;lt;body class="tundra"&amp;gt; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;div style="position:relative;"&amp;gt; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;div id="map" style="width:700px; height:500px; border:1px solid #000;"&amp;gt;&amp;lt;/div&amp;gt; 
&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/div&amp;gt; 
&amp;nbsp; &amp;lt;/body&amp;gt; 
&amp;lt;/html&amp;gt;

&amp;nbsp;&amp;nbsp; &lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2021 21:00:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-set-spatial-filter-for-a-featurelayer/m-p/24484#M2132</guid>
      <dc:creator>KellyHutchins</dc:creator>
      <dc:date>2021-12-10T21:00:02Z</dc:date>
    </item>
    <item>
      <title>how to set spatial filter for a featurelayer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-set-spatial-filter-for-a-featurelayer/m-p/24485#M2133</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Kelly,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have tried the following code and it was working fine in my scenario. But when i buffer a point for a radius of 10 KM using geometry service and pass the resultant polygon (in my case a circle) to the query filter it doesn't filter. But the same polygon if i convert to extent it works fine. Any idea why this behavior is?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Ravi.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Apr 2010 13:35:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-set-spatial-filter-for-a-featurelayer/m-p/24485#M2133</guid>
      <dc:creator>RaviKonaparthi</dc:creator>
      <dc:date>2010-04-29T13:35:03Z</dc:date>
    </item>
    <item>
      <title>Re: how to set spatial filter for a featurelayer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-set-spatial-filter-for-a-featurelayer/m-p/24486#M2134</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hi Kelly,&lt;BR /&gt;&lt;BR /&gt;I have tried the following code and it was working fine in my scenario. But when i buffer a point for a radius of 10 KM using geometry service and pass the resultant polygon (in my case a circle) to the query filter it doesn't filter. But the same polygon if i convert to extent it works fine. Any idea why this behavior is?&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Ravi.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Ravi, did you set up a proxy server and reference it in your code?&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://resources.esri.com/help/9.3/ArcGISServer/apis/javascript/arcgis/help/jshelp_start.htm#jshelp/ags_proxy.htm"&gt;http://resources.esri.com/help/9.3/ArcGISServer/apis/javascript/arcgis/help/jshelp_start.htm#jshelp/ags_proxy.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any querystring longer than 2000 characters just won't work due to Web browser limitations.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Aug 2010 16:47:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-set-spatial-filter-for-a-featurelayer/m-p/24486#M2134</guid>
      <dc:creator>BenStuder</dc:creator>
      <dc:date>2010-08-13T16:47:44Z</dc:date>
    </item>
    <item>
      <title>Re: how to set spatial filter for a featurelayer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-set-spatial-filter-for-a-featurelayer/m-p/24487#M2135</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ben,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using proxy file for this functionality and i have fixed my issue, now i am able to apply spatial filter on a feature layer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Ravi.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 14 Aug 2010 03:28:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-set-spatial-filter-for-a-featurelayer/m-p/24487#M2135</guid>
      <dc:creator>RaviKonaparthi</dc:creator>
      <dc:date>2010-08-14T03:28:22Z</dc:date>
    </item>
    <item>
      <title>Re: how to set spatial filter for a featurelayer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-set-spatial-filter-for-a-featurelayer/m-p/24488#M2136</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Ben,&lt;BR /&gt;I am using proxy file for this functionality and i have fixed my issue, now i am able to apply spatial filter on a feature layer.&lt;BR /&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Ravi, I'll really appreciate if you would explain your solution.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm going to port my apps to arcgis 10 and js apis 2.1 and I need a way to use spatial filters and obtain a server-side rendering; if understood correctly this solution could work also for me.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thx&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Sep 2010 08:06:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-set-spatial-filter-for-a-featurelayer/m-p/24488#M2136</guid>
      <dc:creator>AlessioDi_Lorenzo</dc:creator>
      <dc:date>2010-09-22T08:06:09Z</dc:date>
    </item>
    <item>
      <title>Re: how to set spatial filter for a featurelayer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-set-spatial-filter-for-a-featurelayer/m-p/24489#M2137</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;BR /&gt;I have noticed that jsapi 2.0 provides a datalayer class (esri.tasks.DataLayer) which has geometry and spatialrelationship property. But I am unable to get it to work and couldnt find any sample which uses a datalayer. &lt;BR /&gt;Ravi&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Yeah I am trying to use DataLayer as well but could not find any code samples using this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Did you find Anything?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jun 2011 18:21:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-set-spatial-filter-for-a-featurelayer/m-p/24489#M2137</guid>
      <dc:creator>JulianoKersting</dc:creator>
      <dc:date>2011-06-03T18:21:02Z</dc:date>
    </item>
    <item>
      <title>Re: how to set spatial filter for a featurelayer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-set-spatial-filter-for-a-featurelayer/m-p/24490#M2138</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hi, &lt;BR /&gt;&lt;BR /&gt;I am able to set spatial filters by providing input geometry and spatial relationship to a FeatureLayer in snapshot mode in silverlight api. How do i do this in JSAPI 2.0? The feature layer doesnt have any geometry property. Is there an elegant way of achieving this by some other means?&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;Ravi&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There is no spatialRelationship property exposed through FeatureLayer object. How did you set that in silverlight ? I can only see the Geometry property .&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Oct 2011 17:09:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-set-spatial-filter-for-a-featurelayer/m-p/24490#M2138</guid>
      <dc:creator>HamidMokdes</dc:creator>
      <dc:date>2011-10-06T17:09:39Z</dc:date>
    </item>
  </channel>
</rss>

