[Cartoweb-users] export pdf - legend error - WMS as layer source
Oliver Christen
oliver.christen at camptocamp.com
Fri Feb 15 01:54:57 EST 2008
one possible solution would be to define a specific 24bit color output and force your wms layer to use it thought the metadata parameter, you loose the transparency though.
regards
Oliver
----- Original Message -----
From: MB
To: Cartoweb-users at lists.maptools.org
Sent: Thursday, February 14, 2008 9:22 PM
Subject: [Cartoweb-users] export pdf - legend error - WMS as layer source
hello -
i have added the legend template block to exportpdf.ini as per
cartoweb3/projects/test_main/client_conf/exportPdf.ini)
all goes well however i get an error if if a wms layer is turned on - and i try to print to pdf
the layer in question mtrans gets its legend graphic from the source as defined in the .map file :
"wms_legend_graphic" "true"
the web error i get is
http://tundra.geog.utoronto.ca/cartoweb/CUSIMANO1.php?mode=pdf
FPDF error: Alpha channel not supported: /opt/www/cartoweb3/htdocs/generated/icons/CUSIMANO1/CUSIMANO1/mtrans.png
if i would add SLD definitions to the mapfile woud
my pdf legend then be able to add this layer or is there another work around ?
many thanks
mariange
------------------------------------------------------------------------------
_______________________________________________
Cartoweb-users mailing list
Cartoweb-users at lists.maptools.org
http://lists.maptools.org/mailman/listinfo/cartoweb-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/cartoweb-users/attachments/20080215/fc89d02f/attachment.html
More information about the Cartoweb-users
mailing list