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

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

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

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

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);

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:

[mapguide-users] decimal separator problem

2015-07-28 Thread Jérôme DUCKERS
Hi Guys, I’ve a strange problem. Here, it is: I make a simple selection on my map, and I get back the data with the object : MgSelection I’m using this piece of code : String filter = sel.GenerateFilter(layer, className); query.SetFilter(filter); reader = layer.SelectFeatures(query);