[Cartoweb-users] export pdf - legend error - WMS as layer source

MB mariange at geog.utoronto.ca
Thu Feb 14 15:22:54 EST 2008


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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/cartoweb-users/attachments/20080214/988dc2de/attachment.html


More information about the Cartoweb-users mailing list