[Geomoose-users] Print Error
Len Kne
lkne at houstoneng.com
Mon Nov 29 10:26:19 EST 2010
Hi Brent
Yes, very nice indeed. Trunk has been updated.
Len
From: Brent Fraser [mailto:bfraser at geoanalytic.com]
Sent: Monday, November 29, 2010 9:21 AM
To: Len Kne
Cc: Dante Fuster; geomoose-users at lists.sourceforge.net
Subject: Re: [Geomoose-users] Print Error
Len,
No, it should work for any raster format mapserver will produce, including AGG (both RGB and RGBA).
Best Regards,
Brent Fraser
On 11/29/2010 8:13 AM, Len Kne wrote:
Hi Brent
Nice, works for me as well. Just to be clear, this will allow PNG support, but still only GD, not AGG, right?
Len
From: Brent Fraser [mailto:bfraser at geoanalytic.com]
Sent: Monday, November 29, 2010 8:54 AM
To: Len Kne
Cc: Dante Fuster; geomoose-users at lists.sourceforge.net<mailto:geomoose-users at lists.sourceforge.net>
Subject: Re: [Geomoose-users] Print Error
Len,
I've found a PHP based solution. Have a look at my recent comments in Ticket 108:
http://geomoose.org/trac/ticket/108
Best Regards,
Brent Fraser
On 11/29/2010 7:48 AM, Len Kne wrote:
I'll add on to this with a workaround I use. Create two OUTPUTFORMATs (I do this in geomoose_globals.map), one uses AGG, the other GD. The default is the AGG output so it looks nice on screen, but for printing, tell print_util.php to use the GD output by adding:
$url = $url . '&map_IMAGETYPE=print';
$url = $url . '&mode=map';
Len
From: Brent Fraser [mailto:bfraser at geoanalytic.com]
Sent: Sunday, November 28, 2010 10:00 AM
To: Dante Fuster
Cc: geomoose-users at lists.sourceforge.net<mailto:geomoose-users at lists.sourceforge.net>
Subject: Re: [Geomoose-users] Print Error
Dante,
The problem is that the PHP functions Geomoose uses for creating the print image do not support transparent PNGs very well.
The short answer is to change the PNG image type that mapserver is producing to:
IMAGETYPE GD_PNG
OUTPUTFORMAT
NAME GD_PNG
DRIVER "GD/PNG"
MIMETYPE "image/png"
IMAGEMODE RGB
EXTENSION "png"
END
But you'll lose all the great AGG rendering features of mapserver (antialiasing, etc).
Best Regards,
Brent Fraser
On 11/26/2010 2:31 PM, Dante Fuster wrote:
Hi
I have a problems with the print option, I use RedHat Enterprise 5, Geomoose 2.2 and FGS with postgresql 8.4.1 and postgis 1.3.2,
The configure the aplication is OK, Show maps, search, and change visibility, but when I use de Print option (html, image or pdf) the maps show in BLACK !!
Can you say me what happens?
Thanks for all
Dante Fuster
------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
Geomoose-users mailing list
Geomoose-users at lists.sourceforge.net<mailto:Geomoose-users at lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/geomoose-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/geomoose-users/attachments/20101129/8f06bbc8/attachment.html
More information about the Geomoose-users
mailing list