Polygon style with outline width

Andreas Albarello andreas.albarello at TERRITORIUMONLINE.COM
Mon Nov 5 05:14:44 PST 2007


Luca Manganelli wrote:
> It doesn't work.
> Instead of seeing an OUTLINE of width 3 pixel and that color, I see
> many circles inside the polygon...

Luca,

this should really work, I just tested this myself:

LAYER
   TYPE polygon
   ...
   CLASS
     STYLE
       COLOR 174 165 255
       OUTLINECOLOR 220 200 255
       WIDTH 3
     END
   END
END

Make sure you are not referencing any SYMBOL in your STYLE definition. 
That way the default fill symbol for polygons is automatically used and 
you get the desired fill and outline.

Best regards,
-- 
--------------------------------------------------------------------
Andreas Albarello
Analysis & SW Development

Territorium Online srl/GmbH
Via Buozzi/Buozzistraße 12 - I 39100 Bolzano/Bozen
email: andreas.albarello at territoriumonline.com
web:   www.territoriumonline.com
--------------------------------------------------------------------



More information about the MapServer-users mailing list