<?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 Re: Adding WMSLayer to basemap in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/adding-wmslayer-to-basemap/m-p/612808#M15715</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I'm not sure why it works with the Javascript API, but the way that the WMS class works in Silverlight is that it uses your map control's spatial reference to generate GetMap requests to the WMS. One thing you can do is download the sample WMS layer code &lt;A href="http://resources.esri.com/arcgisserver/apis/silverlight/index.cfm?fa=codeGalleryDetails&amp;amp;scriptId=16249"&gt;here&lt;/A&gt; and modify the GetUrl() method to force the spatial reference to EPSG: 4326, then use this class instead of the 2.0 API WMS class.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I would highly discourage that, since the two layers will not properly align (error could easily be &amp;gt;1000feet)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The correct approach is to make all your services use and support the same spatial reference, instead of mixing oranges and apples.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 Jul 2010 22:51:00 GMT</pubDate>
    <dc:creator>dotMorten_esri</dc:creator>
    <dc:date>2010-07-08T22:51:00Z</dc:date>
    <item>
      <title>Adding WMSLayer to basemap</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/adding-wmslayer-to-basemap/m-p/612801#M15708</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I tried to use the WMSLayer class ion v 2.0 for adding a WMS layer. The layer showed perfectly on the ESRI' sworld street map. But when I switched ESRI's base map with a base map at my organization the WMS layer is not appearing over the base map.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does base map needs to use particular spatial reference? Base map at my organization uses 4269 spatial reference.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;any help please..&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jul 2010 21:19:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/adding-wmslayer-to-basemap/m-p/612801#M15708</guid>
      <dc:creator>NeelMallepally</dc:creator>
      <dc:date>2010-07-07T21:19:49Z</dc:date>
    </item>
    <item>
      <title>Re: Adding WMSLayer to basemap</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/adding-wmslayer-to-basemap/m-p/612802#M15709</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Does your WMS service support that spatial reference? What does Fiddler say about the request when the wms image is requested by the map?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Jul 2010 00:18:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/adding-wmslayer-to-basemap/m-p/612802#M15709</guid>
      <dc:creator>dotMorten_esri</dc:creator>
      <dc:date>2010-07-08T00:18:06Z</dc:date>
    </item>
    <item>
      <title>Re: Adding WMSLayer to basemap</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/adding-wmslayer-to-basemap/m-p/612803#M15710</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If you append '&amp;amp;request=GetCapabilities' to your WMS service URL and put it in a browser, you should get an XML response containing all the service metadata. Among the metadata, look for the &amp;lt;layer&amp;gt; tags, and inside them, the CRS tags that tell you which spatial references are supported: &amp;lt;CRS&amp;gt;EPSG:4326&amp;lt;/CRS&amp;gt; for instance. If 4629 is not among them, the WMS service will reject your GetMap requests, since you specify the CRS along with the bounding box, etc.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Jul 2010 00:47:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/adding-wmslayer-to-basemap/m-p/612803#M15710</guid>
      <dc:creator>DanielWalton</dc:creator>
      <dc:date>2010-07-08T00:47:49Z</dc:date>
    </item>
    <item>
      <title>Re: Adding WMSLayer to basemap</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/adding-wmslayer-to-basemap/m-p/612804#M15711</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;If you append '&amp;amp;request=GetCapabilities' to your WMS service URL and put it in a browser, you should get an XML response containing all the service metadata. Among the metadata, look for the &amp;lt;layer&amp;gt; tags, and inside them, the CRS tags that tell you which spatial references are supported: &amp;lt;CRS&amp;gt;EPSG:4326&amp;lt;/CRS&amp;gt; for instance. If 4629 is not among them, the WMS service will reject your GetMap requests, since you specify the CRS along with the bounding box, etc.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;No, it does not has 4269 in CRS list. I was able to display this WMS layer on a base map using Jvascript API. Is there any explanation why Silverlight is not accepting to display the WMS layer?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Jul 2010 16:15:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/adding-wmslayer-to-basemap/m-p/612804#M15711</guid>
      <dc:creator>NeelMallepally</dc:creator>
      <dc:date>2010-07-08T16:15:50Z</dc:date>
    </item>
    <item>
      <title>Re: Adding WMSLayer to basemap</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/adding-wmslayer-to-basemap/m-p/612805#M15712</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;No, it does not has 4269 in CRS list. I was able to display this WMS layer on a base map using Jvascript API. Is there any explanation why Silverlight is not accepting to display the WMS layer?&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm not sure why it works with the Javascript API, but the way that the WMS class works in Silverlight is that it uses your map control's spatial reference to generate GetMap requests to the WMS. One thing you can do is download the sample WMS layer code &lt;/SPAN&gt;&lt;A href="http://resources.esri.com/arcgisserver/apis/silverlight/index.cfm?fa=codeGalleryDetails&amp;amp;scriptId=16249"&gt;here&lt;/A&gt;&lt;SPAN&gt; and modify the GetUrl() method to force the spatial reference to EPSG: 4326, then use this class instead of the 2.0 API WMS class.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Jul 2010 16:24:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/adding-wmslayer-to-basemap/m-p/612805#M15712</guid>
      <dc:creator>DanielWalton</dc:creator>
      <dc:date>2010-07-08T16:24:57Z</dc:date>
    </item>
    <item>
      <title>Re: Adding WMSLayer to basemap</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/adding-wmslayer-to-basemap/m-p/612806#M15713</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I'm not sure why it works with the Javascript API, but the way that the WMS class works in Silverlight is that it uses your map control's spatial reference to generate GetMap requests to the WMS. One thing you can do is download the sample WMS layer code &lt;A href="http://resources.esri.com/arcgisserver/apis/silverlight/index.cfm?fa=codeGalleryDetails&amp;amp;scriptId=16249"&gt;here&lt;/A&gt; and modify the GetUrl() method to force the spatial reference to EPSG: 4326, then use this class instead of the 2.0 API WMS class.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the quick reply.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes, I have modified GetUrl method to force the spatial reference to 4326. The layer did not appear but there was a message at the bottom left corner of the browser window -" Transferring from &amp;lt;so and so server name&amp;gt;". &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also there are couple of questions regarding the example code (custom WMSLayer class exmaple) that you suggested to download:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Q1:&amp;nbsp; Why there are two similar ProxyHandler.ashx pages, one in web application and other in WMS project? Which one does the application use?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Q2: Do I need to register the handler somewhere (web.config/IIS) to use it in the application, because the WMS layer was appeared only when I used SkipGetCapabilities="True". And when I set SkipGetCapabilites="False"&amp;nbsp; ProxyHandler="../ProxyHandler.ashx" WMS layer did not appear.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks a lot for the help.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Jul 2010 18:52:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/adding-wmslayer-to-basemap/m-p/612806#M15713</guid>
      <dc:creator>NeelMallepally</dc:creator>
      <dc:date>2010-07-08T18:52:12Z</dc:date>
    </item>
    <item>
      <title>Re: Adding WMSLayer to basemap</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/adding-wmslayer-to-basemap/m-p/612807#M15714</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Thanks for the quick reply.&lt;BR /&gt;&lt;BR /&gt;Yes, I have modified GetUrl method to force the spatial reference to 4326. The layer did not appear but there was a message at the bottom left corner of the browser window -" Transferring from &amp;lt;so and so server name&amp;gt;". &lt;BR /&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Sorry, I was wrong. I changed WKID at different place. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;WMS layer did appear on the base map.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the tip.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Jul 2010 19:21:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/adding-wmslayer-to-basemap/m-p/612807#M15714</guid>
      <dc:creator>NeelMallepally</dc:creator>
      <dc:date>2010-07-08T19:21:22Z</dc:date>
    </item>
    <item>
      <title>Re: Adding WMSLayer to basemap</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/adding-wmslayer-to-basemap/m-p/612808#M15715</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I'm not sure why it works with the Javascript API, but the way that the WMS class works in Silverlight is that it uses your map control's spatial reference to generate GetMap requests to the WMS. One thing you can do is download the sample WMS layer code &lt;A href="http://resources.esri.com/arcgisserver/apis/silverlight/index.cfm?fa=codeGalleryDetails&amp;amp;scriptId=16249"&gt;here&lt;/A&gt; and modify the GetUrl() method to force the spatial reference to EPSG: 4326, then use this class instead of the 2.0 API WMS class.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I would highly discourage that, since the two layers will not properly align (error could easily be &amp;gt;1000feet)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The correct approach is to make all your services use and support the same spatial reference, instead of mixing oranges and apples.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Jul 2010 22:51:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/adding-wmslayer-to-basemap/m-p/612808#M15715</guid>
      <dc:creator>dotMorten_esri</dc:creator>
      <dc:date>2010-07-08T22:51:00Z</dc:date>
    </item>
  </channel>
</rss>

