Hi,

I have written an application based on CSharp MapScript that generates
mapfiles. When I save them, decimal values are written in the format
specified in my regional settings (In the Netherlands that is a comma
"," instead of a period "."). So I end up with:
  EXTENT -336022,285241803 -144935,85554567 383601,953193977
550266,745839123 Which should be:
  EXTENT -336022.285241803 -144935.85554567 383601.953193977 550266.745839123

I successfully set the decimal separator in my code to a period like
this, but apparently MapScript doesn't use that value:
System.Threading.Thread.CurrentThread.CurrentCulture =
System.Globalization.CultureInfo.InvariantCulture;

When I change the value in the Control Panel, and then run the
application, it works perfect. However I would like to be able to run
it independent of any system settings.

Regards, Berend
_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to