<?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 Use layerDefs with a WMSServer in ArcGIS REST APIs and Services Questions</title>
    <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/use-layerdefs-with-a-wmsserver/m-p/382651#M1827</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone knows how to use the parameter layerDefs on a WMSServer?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;According to this documentation it should be supported:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://server.arcgis.com/en/server/latest/publish-services/linux/filtering-features-using-the-layerdefs-parameter-in-wms-requests.htm" title="http://server.arcgis.com/en/server/latest/publish-services/linux/filtering-features-using-the-layerdefs-parameter-in-wms-requests.htm"&gt;Filtering features using the layerDefs parameter in WMS requests—Documentation | ArcGIS Enterprise&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However I did several tries:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://sampleserver1.arcgisonline.com/ArcGIS/services/Specialty/ESRI_StatesCitiesRivers_USA/MapServer/WMSServer?TRANSPARENT=TRUE&amp;amp;FORMAT=image%2Fpng&amp;amp;REQUEST=GetMap&amp;amp;SRS=EPSG%3A3857&amp;amp;LAYERDEFS=%7B%22States%22%3A%22STATE_ABBR=%27CA%27%22%7D&amp;amp;BBOX=-1.8676757612705596E7%2C401518.3726326539%2C-7879807.364671038%2C8679180.229459146&amp;amp;VERSION=1.1.1&amp;amp;STYLES=&amp;amp;SERVICE=WMS&amp;amp;WIDTH=1260&amp;amp;HEIGHT=966&amp;amp;LAYERS=0" title="http://sampleserver1.arcgisonline.com/ArcGIS/services/Specialty/ESRI_StatesCitiesRivers_USA/MapServer/WMSServer?TRANSPARENT=TRUE&amp;amp;FORMAT=image%2Fpng&amp;amp;REQUEST=GetMap&amp;amp;SRS=EPSG%3A3857&amp;amp;LAYERDEFS=%7B%22States%22%3A%22STATE_ABBR=%27CA%27%22%7D&amp;amp;BBOX=-1.8676757612705596E7%2C401518.3726326539%2C-7879807.364671038%2C8679180.229459146&amp;amp;VERSION=1.1.1&amp;amp;STYLES=&amp;amp;SERVICE=WMS&amp;amp;WIDTH=1260&amp;amp;HEIGHT=966&amp;amp;LAYERS=0"&gt;http://sampleserver1.arcgisonline.com/ArcGIS/services/Specialty/ESRI_StatesCitiesRivers_USA/MapServer/WMSServer?TRANSPAR…&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://sampleserver1.arcgisonline.com/ArcGIS/services/Specialty/ESRI_StatesCitiesRivers_USA/MapServer/WMSServer?TRANSPARENT=TRUE&amp;amp;FORMAT=image%2Fpng&amp;amp;REQUEST=GetMap&amp;amp;SRS=EPSG%3A3857&amp;amp;LAYERDEFS=%7B%22States%22%3A%22MALES%26gt%3B8625673%22%7D&amp;amp;BBOX=-1.8676757612705596E7%2C401518.3726326539%2C-7879807.364671038%2C8679180.229459146&amp;amp;VERSION=1.1.1&amp;amp;STYLES=&amp;amp;SERVICE=WMS&amp;amp;WIDTH=1260&amp;amp;HEIGHT=966&amp;amp;LAYERS=0" title="http://sampleserver1.arcgisonline.com/ArcGIS/services/Specialty/ESRI_StatesCitiesRivers_USA/MapServer/WMSServer?TRANSPARENT=TRUE&amp;amp;FORMAT=image%2Fpng&amp;amp;REQUEST=GetMap&amp;amp;SRS=EPSG%3A3857&amp;amp;LAYERDEFS=%7B%22States%22%3A%22MALES%26gt%3B8625673%22%7D&amp;amp;BBOX=-1.8676757612705596E7%2C401518.3726326539%2C-7879807.364671038%2C8679180.229459146&amp;amp;VERSION=1.1.1&amp;amp;STYLES=&amp;amp;SERVICE=WMS&amp;amp;WIDTH=1260&amp;amp;HEIGHT=966&amp;amp;LAYERS=0"&gt;http://sampleserver1.arcgisonline.com/ArcGIS/services/Specialty/ESRI_StatesCitiesRivers_USA/MapServer/WMSServer?TRANSPAR…&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the result is never filtered. Am I doing something wrong?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in adavanced for your help!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ganaël&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edit: sorry I changed the doc link to the English version!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 31 Jul 2017 13:29:00 GMT</pubDate>
    <dc:creator>Ganael_Jatteau</dc:creator>
    <dc:date>2017-07-31T13:29:00Z</dc:date>
    <item>
      <title>Use layerDefs with a WMSServer</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/use-layerdefs-with-a-wmsserver/m-p/382651#M1827</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone knows how to use the parameter layerDefs on a WMSServer?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;According to this documentation it should be supported:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://server.arcgis.com/en/server/latest/publish-services/linux/filtering-features-using-the-layerdefs-parameter-in-wms-requests.htm" title="http://server.arcgis.com/en/server/latest/publish-services/linux/filtering-features-using-the-layerdefs-parameter-in-wms-requests.htm"&gt;Filtering features using the layerDefs parameter in WMS requests—Documentation | ArcGIS Enterprise&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However I did several tries:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://sampleserver1.arcgisonline.com/ArcGIS/services/Specialty/ESRI_StatesCitiesRivers_USA/MapServer/WMSServer?TRANSPARENT=TRUE&amp;amp;FORMAT=image%2Fpng&amp;amp;REQUEST=GetMap&amp;amp;SRS=EPSG%3A3857&amp;amp;LAYERDEFS=%7B%22States%22%3A%22STATE_ABBR=%27CA%27%22%7D&amp;amp;BBOX=-1.8676757612705596E7%2C401518.3726326539%2C-7879807.364671038%2C8679180.229459146&amp;amp;VERSION=1.1.1&amp;amp;STYLES=&amp;amp;SERVICE=WMS&amp;amp;WIDTH=1260&amp;amp;HEIGHT=966&amp;amp;LAYERS=0" title="http://sampleserver1.arcgisonline.com/ArcGIS/services/Specialty/ESRI_StatesCitiesRivers_USA/MapServer/WMSServer?TRANSPARENT=TRUE&amp;amp;FORMAT=image%2Fpng&amp;amp;REQUEST=GetMap&amp;amp;SRS=EPSG%3A3857&amp;amp;LAYERDEFS=%7B%22States%22%3A%22STATE_ABBR=%27CA%27%22%7D&amp;amp;BBOX=-1.8676757612705596E7%2C401518.3726326539%2C-7879807.364671038%2C8679180.229459146&amp;amp;VERSION=1.1.1&amp;amp;STYLES=&amp;amp;SERVICE=WMS&amp;amp;WIDTH=1260&amp;amp;HEIGHT=966&amp;amp;LAYERS=0"&gt;http://sampleserver1.arcgisonline.com/ArcGIS/services/Specialty/ESRI_StatesCitiesRivers_USA/MapServer/WMSServer?TRANSPAR…&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://sampleserver1.arcgisonline.com/ArcGIS/services/Specialty/ESRI_StatesCitiesRivers_USA/MapServer/WMSServer?TRANSPARENT=TRUE&amp;amp;FORMAT=image%2Fpng&amp;amp;REQUEST=GetMap&amp;amp;SRS=EPSG%3A3857&amp;amp;LAYERDEFS=%7B%22States%22%3A%22MALES%26gt%3B8625673%22%7D&amp;amp;BBOX=-1.8676757612705596E7%2C401518.3726326539%2C-7879807.364671038%2C8679180.229459146&amp;amp;VERSION=1.1.1&amp;amp;STYLES=&amp;amp;SERVICE=WMS&amp;amp;WIDTH=1260&amp;amp;HEIGHT=966&amp;amp;LAYERS=0" title="http://sampleserver1.arcgisonline.com/ArcGIS/services/Specialty/ESRI_StatesCitiesRivers_USA/MapServer/WMSServer?TRANSPARENT=TRUE&amp;amp;FORMAT=image%2Fpng&amp;amp;REQUEST=GetMap&amp;amp;SRS=EPSG%3A3857&amp;amp;LAYERDEFS=%7B%22States%22%3A%22MALES%26gt%3B8625673%22%7D&amp;amp;BBOX=-1.8676757612705596E7%2C401518.3726326539%2C-7879807.364671038%2C8679180.229459146&amp;amp;VERSION=1.1.1&amp;amp;STYLES=&amp;amp;SERVICE=WMS&amp;amp;WIDTH=1260&amp;amp;HEIGHT=966&amp;amp;LAYERS=0"&gt;http://sampleserver1.arcgisonline.com/ArcGIS/services/Specialty/ESRI_StatesCitiesRivers_USA/MapServer/WMSServer?TRANSPAR…&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the result is never filtered. Am I doing something wrong?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in adavanced for your help!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ganaël&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edit: sorry I changed the doc link to the English version!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Jul 2017 13:29:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/use-layerdefs-with-a-wmsserver/m-p/382651#M1827</guid>
      <dc:creator>Ganael_Jatteau</dc:creator>
      <dc:date>2017-07-31T13:29:00Z</dc:date>
    </item>
    <item>
      <title>Re: Use layerDefs with a WMSServer</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/use-layerdefs-with-a-wmsserver/m-p/382652#M1828</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;up&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Aug 2017 14:00:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/use-layerdefs-with-a-wmsserver/m-p/382652#M1828</guid>
      <dc:creator>Ganael_Jatteau</dc:creator>
      <dc:date>2017-08-01T14:00:36Z</dc:date>
    </item>
  </channel>
</rss>

