<?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 Server 10.2.2 : Spatial reference incorrectly set for image services with WMS capabilities, when Image has Web Mercator Auxiliary Sphere as projection. in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/arcgis-server-10-2-2-spatial-reference-incorrectly/m-p/153247#M6046</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Peoples,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Came across this bug in 10.2.2 the other day.&amp;nbsp; Posting this so if others come across it they will know the work around.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Summary:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Spatial reference incorrectly set for image services with WMS capabilities, when Image has Web Mercator Auxiliary Sphere as projection.&lt;/P&gt;&lt;P&gt;Problem did not exist in 10.1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;How to Reproduce:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Take any image that has the projection : WGS_1984_Web_Mercator_Auxiliary_Sphere : WKID: 3857&lt;/P&gt;&lt;P&gt;Copy the image to a folder that has been registered as a Data Store with ArcGIS Server.&lt;/P&gt;&lt;P&gt;Open ArcCatalog, navigate to the image, right click and share as Image Service.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Publish as Service&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Service Editor &amp;gt; Capabilities &amp;gt; Enable WMS&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Publish the service with default settings&lt;/P&gt;&lt;P&gt;Open the ArcGIS REST endpoint for the image service&lt;/P&gt;&lt;P&gt;Select the WMS link, and check the GetCapabilities for the WMS service.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;URL will be something like: &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://" rel="nofollow" target="_blank"&gt;http://&lt;/A&gt;&lt;SPAN&gt;&amp;lt;your server&amp;gt;:6080/arcgis/services/Raster/TestWMSAux/ImageServer/WMSServer?request=GetCapabilities&amp;amp;service=WMS&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note the CRS statement:&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;lt;CRS&amp;gt;CRS:84&amp;lt;/CRS&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;lt;CRS&amp;gt;EPSG:4326&amp;lt;/CRS&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;lt;CRS&amp;gt;EPSG:0&amp;lt;/CRS&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NOTE the CRS is set to EPSG:0&amp;nbsp; This is incorrect.&amp;nbsp; It should be set to EPSG:3857, which is the projection of the original data.&amp;nbsp; In ArcGIS 10.1 this is correct.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By default, WMS services only list two spatial reference systems; EPSG:4326 (or CSR:84 for WMS 1.3.0) and the spatial reference of the map service that WMS is enabled on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#//015400000596000000"&gt;http://resources.arcgis.com/en/help/main/10.1/index.html#//015400000596000000&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It would appear the CRS is not being picked up for the image, and thus being set to 0.&lt;/P&gt;&lt;P&gt;This has the effect the image cannot be added as a WMS service in projection 3857.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Work Around:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Change the WMS service property: Additional spatial reference systems&lt;/P&gt;&lt;P&gt;Use Manager or ArcCatalog to add the projection to the WMS service properties manually.&amp;nbsp; This will fix the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Additional reference:&lt;/P&gt;&lt;P&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#//00sq000000m1000000"&gt;http://resources.arcgis.com/en/help/main/10.1/index.html#//00sq000000m1000000&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 08 Oct 2014 03:49:00 GMT</pubDate>
    <dc:creator>MarkChilcott</dc:creator>
    <dc:date>2014-10-08T03:49:00Z</dc:date>
    <item>
      <title>ArcGIS Server 10.2.2 : Spatial reference incorrectly set for image services with WMS capabilities, when Image has Web Mercator Auxiliary Sphere as projection.</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/arcgis-server-10-2-2-spatial-reference-incorrectly/m-p/153247#M6046</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Peoples,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Came across this bug in 10.2.2 the other day.&amp;nbsp; Posting this so if others come across it they will know the work around.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Summary:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Spatial reference incorrectly set for image services with WMS capabilities, when Image has Web Mercator Auxiliary Sphere as projection.&lt;/P&gt;&lt;P&gt;Problem did not exist in 10.1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;How to Reproduce:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Take any image that has the projection : WGS_1984_Web_Mercator_Auxiliary_Sphere : WKID: 3857&lt;/P&gt;&lt;P&gt;Copy the image to a folder that has been registered as a Data Store with ArcGIS Server.&lt;/P&gt;&lt;P&gt;Open ArcCatalog, navigate to the image, right click and share as Image Service.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Publish as Service&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Service Editor &amp;gt; Capabilities &amp;gt; Enable WMS&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Publish the service with default settings&lt;/P&gt;&lt;P&gt;Open the ArcGIS REST endpoint for the image service&lt;/P&gt;&lt;P&gt;Select the WMS link, and check the GetCapabilities for the WMS service.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;URL will be something like: &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://" rel="nofollow" target="_blank"&gt;http://&lt;/A&gt;&lt;SPAN&gt;&amp;lt;your server&amp;gt;:6080/arcgis/services/Raster/TestWMSAux/ImageServer/WMSServer?request=GetCapabilities&amp;amp;service=WMS&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note the CRS statement:&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;lt;CRS&amp;gt;CRS:84&amp;lt;/CRS&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;lt;CRS&amp;gt;EPSG:4326&amp;lt;/CRS&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;lt;CRS&amp;gt;EPSG:0&amp;lt;/CRS&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NOTE the CRS is set to EPSG:0&amp;nbsp; This is incorrect.&amp;nbsp; It should be set to EPSG:3857, which is the projection of the original data.&amp;nbsp; In ArcGIS 10.1 this is correct.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By default, WMS services only list two spatial reference systems; EPSG:4326 (or CSR:84 for WMS 1.3.0) and the spatial reference of the map service that WMS is enabled on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#//015400000596000000"&gt;http://resources.arcgis.com/en/help/main/10.1/index.html#//015400000596000000&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It would appear the CRS is not being picked up for the image, and thus being set to 0.&lt;/P&gt;&lt;P&gt;This has the effect the image cannot be added as a WMS service in projection 3857.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Work Around:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Change the WMS service property: Additional spatial reference systems&lt;/P&gt;&lt;P&gt;Use Manager or ArcCatalog to add the projection to the WMS service properties manually.&amp;nbsp; This will fix the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Additional reference:&lt;/P&gt;&lt;P&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#//00sq000000m1000000"&gt;http://resources.arcgis.com/en/help/main/10.1/index.html#//00sq000000m1000000&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Oct 2014 03:49:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/arcgis-server-10-2-2-spatial-reference-incorrectly/m-p/153247#M6046</guid>
      <dc:creator>MarkChilcott</dc:creator>
      <dc:date>2014-10-08T03:49:00Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Server 10.2.2 : Spatial reference incorrectly set for image services with WMS capabilities, when Image has Web Mercator Auxiliary Sphere as projection.</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/arcgis-server-10-2-2-spatial-reference-incorrectly/m-p/153248#M6047</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Peoples,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;esri support have been able to reproduce, and assigned it a bug number:&lt;/P&gt;&lt;P&gt;BUG-000082469 (Spatial reference for an image service is not reflected in WMS Service Capabilities/WMS Configuration with ArcGIS for Server 10.2.2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this thread assists others that may come across it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Oct 2014 21:58:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/arcgis-server-10-2-2-spatial-reference-incorrectly/m-p/153248#M6047</guid>
      <dc:creator>MarkChilcott</dc:creator>
      <dc:date>2014-10-12T21:58:21Z</dc:date>
    </item>
  </channel>
</rss>

