[mapserver-users] PNG symbol transparency supported in map MODE?

Gracia Fernández López graciafdez at gmail.com
Mon Nov 15 03:55:56 EST 2010


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 <maymerich at 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,
> I’ve 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 (transparency for symbols supported)<http://labs.argongra.com/demo/WMSmode.png>
> .
>
> + Map mode (symbols transparency)<http://labs.argongra.com/demo/MAPmode.png>
> .
>
>
>
> 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 I’ve 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 at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20101115/ef956260/attachment.html


More information about the mapserver-users mailing list