Thanks Joe,

Yeah, I eventually figured that out. I tried to use a circle gradient, but the circle overlaps at the start/end of the polygon making it darker there. You also have to render the polygon first as as a LINE to get the brush applied then again as a polygon to get the fill. You might be able to do it in one step, but I have not been able to get that to work.

I'm still playing with this to get the effect I want.

-Steve

Joe Bussell wrote:
Can you use an image as a line brush, where the image is a gradient from a dark point at the center to a light, nearly transparent shade?

Joe


On Fri, Apr 11, 2008 at 3:11 PM, Stephen Woodbridge <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote:

    Hi all,

    I want to render and island polygon with a big fat outline color in
    a dark blue the fades in distance from the island. I'm using AGG and
    I tried this:

     LAYER
       NAME "Islands"
       STATUS DEFAULT
       DATA "coast"
       TYPE POLYGON
       LABELITEM "ISLAND"
       LABELCACHE OFF
       CLASS
         STYLE
           SYMBOL "circle"
           OUTLINECOLOR 0 192 243
           SIZE 20
         END
         STYLE
           COLOR 242 239 233
         END
       END
     END

    Which sort of works but there is very little fade.

    If I use:

         STYLE
           OUTLINECOLOR 0 192 243
           WIDTH 20
         END

    I get horrible artifacts all along the outline. Is there a way to
    control the amount of fade in the outline. Can I make a transparent
    ball that fades with radius to achieve this?

    Thanks,
     -Steve
    _______________________________________________
    mapserver-users mailing list
    [email protected] <mailto:[email protected]>
    http://lists.osgeo.org/mailman/listinfo/mapserver-users



_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to