[mapguide-trac] #1757: Quick Plot cannot generate map picture in some non-English locale

MapGuide Open Source trac_mapguide at osgeo.org
Fri Jul 29 06:19:05 EDT 2011


#1757: Quick Plot cannot generate map picture in some non-English locale
---------------------+------------------------------------------------------
 Reporter:  wuma     |         Owner:  Mars Wu 
     Type:  defect   |        Status:  reopened
 Priority:  high     |     Milestone:          
Component:  General  |       Version:  2.2.0   
 Severity:  major    |    Resolution:          
 Keywords:           |   External_id:  1406806 
---------------------+------------------------------------------------------

Comment(by thomaslorenzon):

 Sorry in advance for my english and for my firebug knownledge..
 How can I use firebug for debugging a php page?
 GeneratePicture.php doesn't show anything, just send an image

 This is the image src of the preview image:
 <img src="GeneratePicture.php?session_id=29453cac-
 b9b7-11e0-8000-000c297c9304_en_7F0000010B060B050B04&amp;map_name=Sheboygan4e3265e474392&amp;print_dpi=300&amp;paper_size=297,210&amp;box=-87.72847257218196,43.74324250536751,-87.72180258119737,43.74324250536751,-87.72180258119737,43.747958660609136,-87.72847257218196,43.747958660609136&amp;normalized_box=-87.72847257218196,43.74324250536751,-87.72180258119737,43.74324250536751,-87.72180258119737,43.747958660609136,-87.72847257218196,43.747958660609136&amp;scale_denominator=2500&amp;rotation=0"
 id="PrintPicture" style="opacity: 1; visibility: visible;">

 I try this:
 - comment out in GeneratePicture.php all the "generate image" code
 - use echo to show $mapAgent value
 - load just GeneratePicture.php passing the above parameters

 I get this value for $mapAgent:
 http://127.0.0.1:80/mapagent/mapagent.fcgi?VERSION=1.0.0&OPERATION=GETMAPIMAGE&SESSION=f3013dac-b921-11e0-8000-000c297c9304_en_7F0000010B060B050B04&MAPNAME=Sheboygan_base4e316b81d9444&FORMAT=PNG&SETVIEWCENTERX=-87.737474152861&SETVIEWCENTERY=43.765018730747&SETVIEWSCALE=5000&SETDISPLAYDPI=300&SETDISPLAYWIDTH=4960.6299212598&SETDISPLAYHEIGHT=3507.874015748&CLIP=0

 As you can see there is no "mapuide" or "mapserver2012" path.

-- 
Ticket URL: <http://trac.osgeo.org/mapguide/ticket/1757#comment:10>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals


More information about the mapguide-trac mailing list