Just in case this thread is followed by someone facing the same problem.
The icon transparency issue is solved inserting TRANSPARENCY ALPHA on each mapfile layer. Manuel De: Manuel Aymerich [mailto:maymer...@argongra.es] Enviado el: lunes, 15 de noviembre de 2010 17:54 Para: 'Gracia Fernández López' Asunto: RE: [mapserver-users] PNG symbol transparency supported in map MODE? Thanks for your tip Gracia. However using WMS to retrieve a single and untiled image to insert on a pdf doesnt seem like a good idea to me. I would have to handle each tile separately, and that should be horribly tedious. Even more, the area bounds would be delimited by these frontier tiles and not the exact area the user desires. It is a server side process not a service. On the other hand, I dont think the issue has to do anything with the OUTPUTFORMAT transparency. My images are transparent pngs. However to produce this transparent images, mapserver merges the symbols layer together with all the other layers but without considering the symbols transparency (in mode=map of course). Regards and again thanks for your time and effort, Manuel De: Gracia Fernández López [mailto:graciaf...@gmail.com] Enviado el: lunes, 15 de noviembre de 2010 9:56 Para: Manuel Aymerich CC: mapserver-users@lists.osgeo.org Asunto: Re: [mapserver-users] PNG symbol transparency supported in map MODE? Hello Manuel, I am not an expert with MapServer, but I can suggest you to do all the queries in WMS mode (or other OGC query), because it is a standard and it already works to you. Taking a look to my MapServer configuration, I have the following: OUTPUTFORMAT NAME gif ... TRANSPARENT ON END I hope this can help you. -- Regards Gracia 2010/11/12 Manuel Aymerich <maymer...@argongra.es> Hi, I am working with mapserver to provide a wms service in which users can select a map area and get a pdf print as an output. On one my vector layers, Ive inserted some new png symbols with an alpha channel. Everything works great in the WMS mode, transparency for those symbols is supported. However, when the users wants to get the pdf of an area, I make a mapserver CGI call in MODE=MAP to retrieve the map area as a single image an construct the pdf output on the fly. In this MODE=MAP case, transparency for those symbols is not supported. Here is a visual example of the problem I am facing, so that you can all judge it yourselves: + WMS mode <http://labs.argongra.com/demo/WMSmode.png> (transparency for symbols supported). + Map mode <http://labs.argongra.com/demo/MAPmode.png> (symbols transparency). It seems that when mapserver merges all layers into one in map mode to obtain a single output image, symbol features are rendered without transparency support. At the layer level Ive set << OPACITY alpha >>, but the problem persists. Any clue of want I might be missing? Is this a mapserver bug? Any help or hint will be appreciated. Thanks in advanced, regards, Manuel Aymerich _______________________________________________ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users Se certificó que el correo entrante no contiene virus. Comprobada por AVG - www.avg.es Versión: 9.0.869 / Base de datos de virus: 271.1.1/3257 - Fecha de la versión: 11/14/10 20:34:00
_______________________________________________ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users