[mapserver-users] Selective Background Transparency with Labels

thomas bonfort thomas.bonfort at gmail.com
Fri Feb 13 09:36:50 EST 2009


If I correctly understand what you're trying to do, then no, this is
not possible with mapserver, as this would require recovering the
pixels that have been overdrawn by the line.

regards,
thomas

On Fri, Feb 13, 2009 at 15:14, Bill Thoen <bthoen at gisnet.com> wrote:
> Is there a way to set a LABEL BACKGROUNDCOLOR to render transparent just
> pixels of a particular color instead of changing all pixels to the specified
> color? My situation is regarding contour line labels. I want the label to
> follow the contour line's center, but I would like just the parts of the
> contour line behind the labels to be knocked out, leaving the background
> otherwise untouched.  In this case the color of the layer just below the
> contour lines varies across the map (it's a shaded relief layer), so setting
> BACKGOUNDCOLOR to a specific value doesn't give me the effect I want. Any
> solutions?
>
> - Bill Thoen
>
>
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>


More information about the mapserver-users mailing list