[mapserver-users] Polygon Outline Color Width Fade Howto?

Stephen Woodbridge woodbri at swoodbridge.com
Fri Apr 11 18:11:49 EDT 2008


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


More information about the mapserver-users mailing list