Re: [mapguide-users] decimal separator problem

2015-07-29 Thread Jackie Ng
Doesn't SHP files have an optional locale component file or something? Maybe
the omission of such a file is causing that decimal separator formatting?

- Jackie



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/decimal-separator-problem-tp5217353p5217486.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] decimal separator problem

2015-07-29 Thread Jérôme DUCKERS
Hi Bruno,

Already try,but no effect.

The currentculture before and after the shapefile creation is always the
same.
The same for the property : NumberDecimalSeparator

I wonder if it's not a problem with the version of my fdo provider  (3.8)



2015-07-29 10:43 GMT+02:00 Bruno Scott bsc...@geomapgis.com:

 Hi Jacky and Hi Jérôme,
 I've seen this, i think...

 2 things to try

 A)
  try plaing with the regional setting on the server side.

 B) add this before your code
   string strCulture = Thread.CurrentThread.CurrentCulture.Name;
   Thread.CurrentThread.CurrentCulture = new CultureInfo(en-US, false);



 --
 View this message in context:
 http://osgeo-org.1560.x6.nabble.com/decimal-separator-problem-tp5217353p5217497.html
 Sent from the MapGuide Users mailing list archive at Nabble.com.
 ___
 mapguide-users mailing list
 mapguide-users@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/mapguide-users
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] decimal separator problem

2015-07-29 Thread Jackie Ng
I see this ticket was reported after FDO 3.8

https://trac.osgeo.org/fdo/ticket/881

Maybe try the same code on MapGuide 2.6

- Jackie



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/decimal-separator-problem-tp5217353p5217511.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] decimal separator problem

2015-07-29 Thread Jérôme DUCKERS
Hi Jackie,

No, i'm using all the local files, it's very weird ! Because when i create
a sdf file with practically the same code, i've no problem.

As workaround, now, i'm using dotSpatial to generate my ShapeFile. But for
my knowledge, i want to determine what's change the local settings when i'm
generating a shape :(


Jérôme.


2015-07-29 9:16 GMT+02:00 Jackie Ng jumpinjac...@gmail.com:

 Doesn't SHP files have an optional locale component file or something?
 Maybe
 the omission of such a file is causing that decimal separator formatting?

 - Jackie



 --
 View this message in context:
 http://osgeo-org.1560.x6.nabble.com/decimal-separator-problem-tp5217353p5217486.html
 Sent from the MapGuide Users mailing list archive at Nabble.com.
 ___
 mapguide-users mailing list
 mapguide-users@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/mapguide-users

___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] decimal separator problem

2015-07-29 Thread Bruno Scott
Hi Jacky and Hi Jérôme,
I've seen this, i think...

2 things to try

A)
 try plaing with the regional setting on the server side.

B) add this before your code
  string strCulture = Thread.CurrentThread.CurrentCulture.Name;
  Thread.CurrentThread.CurrentCulture = new CultureInfo(en-US, false); 



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/decimal-separator-problem-tp5217353p5217497.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] decimal separator problem

2015-07-29 Thread Jérôme DUCKERS
Yes you've right !


Thanks Jackie.

2015-07-29 11:33 GMT+02:00 Jackie Ng jumpinjac...@gmail.com:

 I see this ticket was reported after FDO 3.8

 https://trac.osgeo.org/fdo/ticket/881

 Maybe try the same code on MapGuide 2.6

 - Jackie



 --
 View this message in context:
 http://osgeo-org.1560.x6.nabble.com/decimal-separator-problem-tp5217353p5217511.html
 Sent from the MapGuide Users mailing list archive at Nabble.com.
 ___
 mapguide-users mailing list
 mapguide-users@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/mapguide-users

___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users