[mapguide-trac] #1757: Quick Ploat cannot generate map picture in
some non-English locale
MapGuide Open Source
trac_mapguide at osgeo.org
Tue Jul 26 02:10:01 EDT 2011
#1757: Quick Ploat cannot generate map picture in some non-English locale
-----------------------+----------------------------------------------------
Reporter: wuma | Owner: Mars Wu
Type: defect | Status: new
Priority: high | Milestone:
Component: General | Version: 2.2.0
Severity: major | Keywords:
External_id: 1406806 |
-----------------------+----------------------------------------------------
In some non-English locale, for instance French or German where the
decimal point and digit separator are not the same as English, if you run
Quick Plot to generate a map picture, you will always get a message on the
preview dialog saying: “The application resources required to generate the
plot exceed the settings defined by the administrator”.
The reason is that Quick Plot encodes (as string) the parameters like
centerX, centerY, PaperSize etc. always in English format (. as decimal
point and , as digit separator) but when parsing the values with aspx, php
or jsp, current culture will be used then the value will be invalid.
To fix it, the passed string values should be parsed always in English
format.
--
Ticket URL: <http://trac.osgeo.org/mapguide/ticket/1757>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals
More information about the mapguide-trac
mailing list