<?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 Why might WMS GetMap requiring LAYERS to be a number? in Publishing and Managing Services Questions</title>
    <link>https://community.esri.com/t5/publishing-and-managing-services-questions/why-might-wms-getmap-requiring-layers-to-be-a/m-p/183632#M39</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have a GET request which looks like this ("Hotspot" is a valid layer name):&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;GET /arcgis/services/SmallvilleOGC/MapServer/WMSServer?SERVICE=WMS&amp;amp;map=SmallvilleOGC&amp;amp;VERSION=1.1.1&amp;amp;REQUEST=GetMap&amp;amp;FORMAT=image/png&amp;amp;SRS=EPSG:4326&amp;amp;BBOX=-82.6,34.7,-82.2,35.1&amp;amp;WIDTH=1024&amp;amp;HEIGHT=1024&amp;amp;TRANSPARENT=TRUE&amp;amp;LAYERS=Hotspot&amp;amp;STYLES= HTTP/1.1&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Which results in an exception:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;ServiceExceptionReport version="1.1.1"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;ServiceException code="LayerNotDefined"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Parameter 'layers' contains unacceptable layer name.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;/ServiceException&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/ServiceExceptionReport&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As a guess I tried SmallvilleOGC:Hotspot but received the same error.&amp;nbsp; When I change LAYERS=0 it returns an image! &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any idea as to why this might be the case?&amp;nbsp; It really is named "Hotspot" so it doesn't appear to be a typo:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Data Type: File Geodatabase Feature Class &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Location: D:\Map\smallville\calixville.gdb&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Feature Dataset: CalixTest&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Feature Class: Hotspot&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Feature Type: Simple&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Geometry Type: Polygon&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for any help you can offer.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 May 2010 14:35:25 GMT</pubDate>
    <dc:creator>CoreyAlix</dc:creator>
    <dc:date>2010-05-20T14:35:25Z</dc:date>
    <item>
      <title>Why might WMS GetMap requiring LAYERS to be a number?</title>
      <link>https://community.esri.com/t5/publishing-and-managing-services-questions/why-might-wms-getmap-requiring-layers-to-be-a/m-p/183632#M39</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have a GET request which looks like this ("Hotspot" is a valid layer name):&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;GET /arcgis/services/SmallvilleOGC/MapServer/WMSServer?SERVICE=WMS&amp;amp;map=SmallvilleOGC&amp;amp;VERSION=1.1.1&amp;amp;REQUEST=GetMap&amp;amp;FORMAT=image/png&amp;amp;SRS=EPSG:4326&amp;amp;BBOX=-82.6,34.7,-82.2,35.1&amp;amp;WIDTH=1024&amp;amp;HEIGHT=1024&amp;amp;TRANSPARENT=TRUE&amp;amp;LAYERS=Hotspot&amp;amp;STYLES= HTTP/1.1&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Which results in an exception:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;ServiceExceptionReport version="1.1.1"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;ServiceException code="LayerNotDefined"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Parameter 'layers' contains unacceptable layer name.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;/ServiceException&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/ServiceExceptionReport&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As a guess I tried SmallvilleOGC:Hotspot but received the same error.&amp;nbsp; When I change LAYERS=0 it returns an image! &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any idea as to why this might be the case?&amp;nbsp; It really is named "Hotspot" so it doesn't appear to be a typo:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Data Type: File Geodatabase Feature Class &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Location: D:\Map\smallville\calixville.gdb&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Feature Dataset: CalixTest&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Feature Class: Hotspot&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Feature Type: Simple&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Geometry Type: Polygon&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for any help you can offer.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 May 2010 14:35:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/publishing-and-managing-services-questions/why-might-wms-getmap-requiring-layers-to-be-a/m-p/183632#M39</guid>
      <dc:creator>CoreyAlix</dc:creator>
      <dc:date>2010-05-20T14:35:25Z</dc:date>
    </item>
    <item>
      <title>Re: Why might WMS GetMap requiring LAYERS to be a number?</title>
      <link>https://community.esri.com/t5/publishing-and-managing-services-questions/why-might-wms-getmap-requiring-layers-to-be-a/m-p/183633#M40</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This is a mechanism to make sure that the layers can be requested with a unique identifier. By using the layer order, there will be no duplicate layer numbers, and no chance for confusion, since it is possible to publish a map that has multiple layers with the same name. In ArcGIS 10, there will be an option available to use the layer name if there are no duplicate names.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 May 2010 17:46:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/publishing-and-managing-services-questions/why-might-wms-getmap-requiring-layers-to-be-a/m-p/183633#M40</guid>
      <dc:creator>TonyContreras</dc:creator>
      <dc:date>2010-05-20T17:46:33Z</dc:date>
    </item>
    <item>
      <title>Re: Why might WMS GetMap requiring LAYERS to be a number?</title>
      <link>https://community.esri.com/t5/publishing-and-managing-services-questions/why-might-wms-getmap-requiring-layers-to-be-a/m-p/183634#M41</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Neat. How do we fix this issue?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Apr 2019 18:16:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/publishing-and-managing-services-questions/why-might-wms-getmap-requiring-layers-to-be-a/m-p/183634#M41</guid>
      <dc:creator>MichaelTonkel</dc:creator>
      <dc:date>2019-04-22T18:16:23Z</dc:date>
    </item>
  </channel>
</rss>

