<?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 ArcGIS Pro SDK - Add WMS - specific layers in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/arcgis-pro-sdk-add-wms-specific-layers/m-p/823582#M2933</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have used the example here &lt;A href="https://community.esri.com/docs/DOC-8802"&gt;How to add a WMS service to ArcGIS Pro using the SDK&lt;/A&gt;&amp;nbsp; to add a wms to a Map but wanted to set the connection to access and add a specific layer rather than load the whole service. I can add parameters in a Dictionary to filter for a specific feature in the service but need to target just one sublayer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IDictionary&amp;lt;string, object&amp;gt; wms_params = new Dictionary&amp;lt;string, object&amp;gt;();&lt;BR /&gt; wms_params.Add("CQL_FILTER", "ingestion='myImage'");&lt;BR /&gt; connection.MapParameters = wms_params;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is work I can replicate manually by inserting a connection to the wms in my project, then dragging just the target wms sub layer into the map and setting additional parameters (e.g. CQL_FILTER)&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help greatly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dave&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 22 Feb 2018 16:22:54 GMT</pubDate>
    <dc:creator>DaveAdams</dc:creator>
    <dc:date>2018-02-22T16:22:54Z</dc:date>
    <item>
      <title>ArcGIS Pro SDK - Add WMS - specific layers</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/arcgis-pro-sdk-add-wms-specific-layers/m-p/823582#M2933</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have used the example here &lt;A href="https://community.esri.com/docs/DOC-8802"&gt;How to add a WMS service to ArcGIS Pro using the SDK&lt;/A&gt;&amp;nbsp; to add a wms to a Map but wanted to set the connection to access and add a specific layer rather than load the whole service. I can add parameters in a Dictionary to filter for a specific feature in the service but need to target just one sublayer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IDictionary&amp;lt;string, object&amp;gt; wms_params = new Dictionary&amp;lt;string, object&amp;gt;();&lt;BR /&gt; wms_params.Add("CQL_FILTER", "ingestion='myImage'");&lt;BR /&gt; connection.MapParameters = wms_params;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is work I can replicate manually by inserting a connection to the wms in my project, then dragging just the target wms sub layer into the map and setting additional parameters (e.g. CQL_FILTER)&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help greatly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dave&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Feb 2018 16:22:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/arcgis-pro-sdk-add-wms-specific-layers/m-p/823582#M2933</guid>
      <dc:creator>DaveAdams</dc:creator>
      <dc:date>2018-02-22T16:22:54Z</dc:date>
    </item>
  </channel>
</rss>

