<?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 WMSLayer and EPSG/WKID codes in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/wmslayer-and-epsg-wkid-codes/m-p/319683#M29453</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi everybody,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I hope this question has not been asked before, if yes, please accept my apologies.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have edited my previous post as I have changed my approach.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm working with WMS Layers provided by a Geoserver instance. So I use WMSLayers (with resourceInfo) in order to retrieve my layers.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It works fine but I noticed a small issue which annoy me a bit. If I set my baseMap with spatial reference wkid:4326 (gcs WGS 84) the EPSG code generated in the WMS request is also 4326 (that's fine), but if I use wkid:3857 (pcs WGS 84 Web Auxiliary Sphere) the generated EPSG code is 102100... Which is the same coordinate system but with the "old" code (I'm not 100% sure of what I'm saying, so feel free to correct me) and which is an incorrect EPSG code (it should be 3857).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't know if it's a bug or not. Do you have a solution to be able to define a basemap using the 3857 wkid and to correctly send requests to my wms server (geoserver).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you very much for your help&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sylvain&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 29 Jun 2012 16:40:21 GMT</pubDate>
    <dc:creator>SylvainLavabre</dc:creator>
    <dc:date>2012-06-29T16:40:21Z</dc:date>
    <item>
      <title>WMSLayer and EPSG/WKID codes</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/wmslayer-and-epsg-wkid-codes/m-p/319683#M29453</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi everybody,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I hope this question has not been asked before, if yes, please accept my apologies.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have edited my previous post as I have changed my approach.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm working with WMS Layers provided by a Geoserver instance. So I use WMSLayers (with resourceInfo) in order to retrieve my layers.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It works fine but I noticed a small issue which annoy me a bit. If I set my baseMap with spatial reference wkid:4326 (gcs WGS 84) the EPSG code generated in the WMS request is also 4326 (that's fine), but if I use wkid:3857 (pcs WGS 84 Web Auxiliary Sphere) the generated EPSG code is 102100... Which is the same coordinate system but with the "old" code (I'm not 100% sure of what I'm saying, so feel free to correct me) and which is an incorrect EPSG code (it should be 3857).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't know if it's a bug or not. Do you have a solution to be able to define a basemap using the 3857 wkid and to correctly send requests to my wms server (geoserver).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you very much for your help&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sylvain&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Jun 2012 16:40:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/wmslayer-and-epsg-wkid-codes/m-p/319683#M29453</guid>
      <dc:creator>SylvainLavabre</dc:creator>
      <dc:date>2012-06-29T16:40:21Z</dc:date>
    </item>
  </channel>
</rss>

