[mapguide-trac] #1757: Quick Plot cannot generate map picture
in some non-English locale
MapGuide Open Source
trac_mapguide at osgeo.org
Thu Jul 28 11:03:24 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 wuma):
Replying to [comment:6 thomaslorenzon]:
> I tried to implement on MGE2012 (italian version) your patch but it
doesn't work (a black image is generated).
> Then I had a look at GeneratePicture.php and found a possible solution.
> Modify row 106 as follow:
>
> $mapAgent
.="/mapserver2012/mapagent/mapagent.fcgi?VERSION=1.0.0&OPERATION=GETMAPIMAGE"
.
>
> Now for me it works but I known that it doesn't work with MGOS.
> Someone can change it and do it better?
>
> Thanks, Thomas
Can you tell me your configuration? Windows or Linux, IIS or Apache? The
$mapAgent cannot be changed as you mentioned, because it will not work if
your Web Extension is behind a Http proxy server. And you cannot use
http://locahost either, because it doesn't work with Apache + Php.
http://127.0.0.1 should always work with IPv4. And with RFC 118, I plan to
change the way of generating the print picture from calling Http API to
calling Web Tier API. And a new MgMap::SetDisplayDpi will be exposed to
support the change.
--
Ticket URL: <http://trac.osgeo.org/mapguide/ticket/1757#comment:7>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals
More information about the mapguide-trac
mailing list