<?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: LayerDefinition with Geometry in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/layerdefinition-with-geometry/m-p/565255#M14551</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;Hi Jennifer,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Thank you for your reply. But i try that solution but it is useless for me. In my case, for example; there are two city. One will not see the others' data. But data is in the same service. So, i need geometric limitation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Thanks&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 27 Nov 2014 07:02:21 GMT</pubDate>
    <dc:creator>SelçukTınaz</dc:creator>
    <dc:date>2014-11-27T07:02:21Z</dc:date>
    <item>
      <title>LayerDefinition with Geometry</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/layerdefinition-with-geometry/m-p/565253#M14549</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I have a map that has ArcgisDynamicMapServiceLayer. I also have a geometry that i need to limit map extent and data with it. I am able to limit extent there is no problem. But i also need to limit geographic data with this geometry. I tried 'LayerDefinition', but it is useless for me. It only supports where clause string not the geometry. Do you have any solution for me?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Nov 2014 09:49:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/layerdefinition-with-geometry/m-p/565253#M14549</guid>
      <dc:creator>SelçukTınaz</dc:creator>
      <dc:date>2014-11-11T09:49:47Z</dc:date>
    </item>
    <item>
      <title>Re: LayerDefinition with Geometry</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/layerdefinition-with-geometry/m-p/565254#M14550</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;As you have observed there is no Geometry filter on ArcGISDynamicMapServiceLayer, unlike FeatureLayer which can be filtered by current map extent if you have Mode=OnDemand. I know it's not equivalent but perhaps you can set MaximumResolution so the layer is not visible beyond this resolution. You can zoom to the desired geometry and get Map.Resolution then when you create the layer set its MaximumResolution to that value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;esri:Map x:Name="MyMap"
&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;&amp;nbsp;&amp;nbsp;&amp;nbsp; WrapAround="True"&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;esri:ArcGISTiledMapServiceLayer ID="StreetMapLayer"
&lt;SPAN&gt;&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;&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;&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;&amp;nbsp;&amp;nbsp; Url="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://services.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer" rel="nofollow noopener noreferrer" target="_blank"&gt;http://services.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;
&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;&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;&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;&amp;nbsp;&amp;nbsp; /&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;esri:ArcGISDynamicMapServiceLayer ID="DynamicLayer"
&lt;SPAN&gt;&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;&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;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Url="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/Earthquakes/RecentEarthquakesRendered/MapServer" rel="nofollow noopener noreferrer" target="_blank"&gt;http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/Earthquakes/RecentEarthquakesRendered/MapServer&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;
&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;&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;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MaximumResolution="13014.99815945433"&amp;gt;
&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;&amp;nbsp; &amp;lt;esri:ArcGISDynamicMapServiceLayer.LayerDefinitions&amp;gt;
&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;esri:LayerDefinition Definition=""
&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;&amp;nbsp; &amp;lt;/esri:ArcGISDynamicMapServiceLayer.LayerDefinitions&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/esri:ArcGISDynamicMapServiceLayer&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/esri:Map&amp;gt;&lt;/PRE&gt;&lt;P&gt;Or maybe subscribe to ExtentChanged and make the layer Visible=False. LayerDefinition is meant to filter by attribute. &lt;A href="http://sampleserver6.arcgisonline.com/arcgis/sdk/rest/index.html#/Export_Map/02ss00000062000000/" title="http://sampleserver6.arcgisonline.com/arcgis/sdk/rest/index.html#/Export_Map/02ss00000062000000/" rel="nofollow noopener noreferrer" target="_blank"&gt;ArcGIS REST API - Services and Data Types&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 00:21:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/layerdefinition-with-geometry/m-p/565254#M14550</guid>
      <dc:creator>JenniferNery</dc:creator>
      <dc:date>2021-12-12T00:21:37Z</dc:date>
    </item>
    <item>
      <title>Re: LayerDefinition with Geometry</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/layerdefinition-with-geometry/m-p/565255#M14551</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;Hi Jennifer,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Thank you for your reply. But i try that solution but it is useless for me. In my case, for example; there are two city. One will not see the others' data. But data is in the same service. So, i need geometric limitation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Thanks&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Nov 2014 07:02:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/layerdefinition-with-geometry/m-p/565255#M14551</guid>
      <dc:creator>SelçukTınaz</dc:creator>
      <dc:date>2014-11-27T07:02:21Z</dc:date>
    </item>
    <item>
      <title>Re: LayerDefinition with Geometry</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/layerdefinition-with-geometry/m-p/565256#M14552</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use query option on a layer.&lt;/P&gt;&lt;P&gt;You can easily define geometry as spatial filter.&lt;/P&gt;&lt;P&gt;&lt;A href="http://resources.arcgis.com/en/help/arcgis-rest-api/index.html#//02r3000000z6000000" title="http://resources.arcgis.com/en/help/arcgis-rest-api/index.html#//02r3000000z6000000"&gt;ArcGIS REST API&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Nov 2014 09:59:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/layerdefinition-with-geometry/m-p/565256#M14552</guid>
      <dc:creator>SuleymanARSLAN</dc:creator>
      <dc:date>2014-11-27T09:59:01Z</dc:date>
    </item>
    <item>
      <title>Re: LayerDefinition with Geometry</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/layerdefinition-with-geometry/m-p/565257#M14553</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You miss something. I need to do that in all layer same time on Arcgisdynamicmapservicelayer without any query operation . It is like LayerDefinition but without where clause. it must be with geometry.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Thanks&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Nov 2014 10:30:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/layerdefinition-with-geometry/m-p/565257#M14553</guid>
      <dc:creator>SelçukTınaz</dc:creator>
      <dc:date>2014-11-27T10:30:20Z</dc:date>
    </item>
    <item>
      <title>Re: LayerDefinition with Geometry</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/layerdefinition-with-geometry/m-p/565258#M14554</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Actually I did not miss. You can not apply spatial filter to whole map service. You can only apply to individual layers. So you have to create separate layer for each.&lt;/P&gt;&lt;P&gt;If you don't want to do it that way, you have to use attribute query. For that you have to overlay all layers with boundary layer and add field to each layer for filtering data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Nov 2014 10:48:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/layerdefinition-with-geometry/m-p/565258#M14554</guid>
      <dc:creator>SuleymanARSLAN</dc:creator>
      <dc:date>2014-11-27T10:48:45Z</dc:date>
    </item>
    <item>
      <title>Re: LayerDefinition with Geometry</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/layerdefinition-with-geometry/m-p/565259#M14555</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes ArcGISDynamicMapServiceLayer doesn't support spatial filters. We might imagine to create a custom layer that would clip the image returned by the server but that seems convoluted.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Else the built in solution is to use FeatureLayers with a geometry filter, but, as noticed, this means you have to create separate layers by sublayer ID and this means the features are loaded at client which can impact the performances.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Nov 2014 11:30:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/layerdefinition-with-geometry/m-p/565259#M14555</guid>
      <dc:creator>DominiqueBroux</dc:creator>
      <dc:date>2014-11-27T11:30:58Z</dc:date>
    </item>
  </channel>
</rss>

