<?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: WMS layer request fails due to decimal separator in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/wms-layer-request-fails-due-to-decimal-separator/m-p/339678#M8760</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes, it's on our list. The bug is not fixed for v2.1 because we were on code-freeze when we learned about this.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 Dec 2010 18:48:48 GMT</pubDate>
    <dc:creator>JenniferNery</dc:creator>
    <dc:date>2010-12-07T18:48:48Z</dc:date>
    <item>
      <title>WMS layer request fails due to decimal separator</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/wms-layer-request-fails-due-to-decimal-separator/m-p/339670#M8752</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I try to use WmsLayer to display (obviosly) an image from a WMS service. This fails, with no image being presented. Thanks to Fiddler2, I was able to find out that the problem was invalid request for BBOX where decimal points were sent using a comma instead of a period. I use a system with Norwegian culture setting. Changing the application to use en-US, I got it working. The problem is that I can't change the culture for the whole application as that will lead to some unexpected issues for the user.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any suggestions for a bugfix, and perhaps a temporary fix? I assume the WMS specifications expects period as the decimal separator, so perhaps this could be forced to use a period?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Bjørnar Sundsbø&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Nov 2010 20:06:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/wms-layer-request-fails-due-to-decimal-separator/m-p/339670#M8752</guid>
      <dc:creator>BjørnarSundsbø</dc:creator>
      <dc:date>2010-11-29T20:06:45Z</dc:date>
    </item>
    <item>
      <title>Re: WMS layer request fails due to decimal separator</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/wms-layer-request-fails-due-to-decimal-separator/m-p/339671#M8753</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you for reporting this. You must be using WMS service that is lower than v1.3. We'll try to get it fixed in future releases.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What you can do is get the source code for Toolkit.DataSources from &lt;/SPAN&gt;&lt;A href="http://esrisilverlight.codeplex.com/releases/view/39795" rel="nofollow noopener noreferrer" target="_blank"&gt;http://esrisilverlight.codeplex.com/releases/view/39795&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In the Wms.cs file, GetUrl method, line# 426&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
mapURL.AppendFormat("&amp;amp;bbox={0},{1},{2},{3}", extent.XMin, extent.YMin, extent.XMax, extent.YMax);
&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;need to be replaced with:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt; mapURL.AppendFormat(CultureInfo.InvariantCulture,
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "&amp;amp;bbox={0},{1},{2},{3}", extent.XMin, extent.YMin, extent.XMax, extent.YMax);&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 16:03:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/wms-layer-request-fails-due-to-decimal-separator/m-p/339671#M8753</guid>
      <dc:creator>JenniferNery</dc:creator>
      <dc:date>2021-12-11T16:03:29Z</dc:date>
    </item>
    <item>
      <title>Re: WMS layer request fails due to decimal separator</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/wms-layer-request-fails-due-to-decimal-separator/m-p/339672#M8754</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Jennifer,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm currently building against .NET 3.5, and compiling the toolkit to that version gives me some problems with VisualStateGroup and State manager not being available. This makes sense, though I can't think of how to build it to target 3.5.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also, based on the numbers of doubles being parsed, I need to pass in InvariantCulture to all the places a double is parsed. Before I can do that, I guess I have to overcome the VisualStateManager issues. Any suggestions?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Nov 2010 07:57:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/wms-layer-request-fails-due-to-decimal-separator/m-p/339672#M8754</guid>
      <dc:creator>BjørnarSundsbø</dc:creator>
      <dc:date>2010-11-30T07:57:01Z</dc:date>
    </item>
    <item>
      <title>Re: WMS layer request fails due to decimal separator</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/wms-layer-request-fails-due-to-decimal-separator/m-p/339673#M8755</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If you are working with API v1.2, you can download previous releases: &lt;/SPAN&gt;&lt;A href="http://esrisilverlight.codeplex.com/releases/view/39794"&gt;http://esrisilverlight.codeplex.com/releases/view/39794&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Nov 2010 15:40:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/wms-layer-request-fails-due-to-decimal-separator/m-p/339673#M8755</guid>
      <dc:creator>JenniferNery</dc:creator>
      <dc:date>2010-11-30T15:40:22Z</dc:date>
    </item>
    <item>
      <title>Re: WMS layer request fails due to decimal separator</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/wms-layer-request-fails-due-to-decimal-separator/m-p/339674#M8756</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Jennifer,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sorry, I thought I mention the version I'm using. I'm on API 2.1 RC.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Nov 2010 16:19:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/wms-layer-request-fails-due-to-decimal-separator/m-p/339674#M8756</guid>
      <dc:creator>BjørnarSundsbø</dc:creator>
      <dc:date>2010-11-30T16:19:52Z</dc:date>
    </item>
    <item>
      <title>Re: WMS layer request fails due to decimal separator</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/wms-layer-request-fails-due-to-decimal-separator/m-p/339675#M8757</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Oh. The source code for Toolkit v2.1 will be available as soon as v2.1 Final is made public. It will be found in the same location. I'm sorry you have to wait a little bit. It should be soon though.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Nov 2010 18:10:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/wms-layer-request-fails-due-to-decimal-separator/m-p/339675#M8757</guid>
      <dc:creator>JenniferNery</dc:creator>
      <dc:date>2010-11-30T18:10:30Z</dc:date>
    </item>
    <item>
      <title>Re: WMS layer request fails due to decimal separator</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/wms-layer-request-fails-due-to-decimal-separator/m-p/339676#M8758</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;&lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you for being so active in the forums. From old experiences with the old ArcObjects forums with almost no questions being answered, it is great to be able to get help from the team developing the product in such a short time.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Bjørnar Sundsbø&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Nov 2010 18:28:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/wms-layer-request-fails-due-to-decimal-separator/m-p/339676#M8758</guid>
      <dc:creator>BjørnarSundsbø</dc:creator>
      <dc:date>2010-11-30T18:28:13Z</dc:date>
    </item>
    <item>
      <title>Re: WMS layer request fails due to decimal separator</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/wms-layer-request-fails-due-to-decimal-separator/m-p/339677#M8759</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Thank you for reporting this. You must be using WMS service that is lower than v1.3. We'll try to get it fixed in future releases.&lt;BR /&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Have you reported this to your issue tracker? I checked the December release, and this issue had not been resolved there.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Dec 2010 18:37:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/wms-layer-request-fails-due-to-decimal-separator/m-p/339677#M8759</guid>
      <dc:creator>BjørnarSundsbø</dc:creator>
      <dc:date>2010-12-07T18:37:05Z</dc:date>
    </item>
    <item>
      <title>Re: WMS layer request fails due to decimal separator</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/wms-layer-request-fails-due-to-decimal-separator/m-p/339678#M8760</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes, it's on our list. The bug is not fixed for v2.1 because we were on code-freeze when we learned about this.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Dec 2010 18:48:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/wms-layer-request-fails-due-to-decimal-separator/m-p/339678#M8760</guid>
      <dc:creator>JenniferNery</dc:creator>
      <dc:date>2010-12-07T18:48:48Z</dc:date>
    </item>
  </channel>
</rss>

