Polygon with outline and dashed & angled hatching

Here, two styles are defined.

The first creates the hatching (Symbol) and gives it a color (Fill color), plus sets the width of the hatching lines (Width) and the amount of space between them (Symbol size). A fixed angle for the hatching’s direction is set (Angle). In addition, the hatching is set to consist of dashed lines (Pattern), which will be drawn as 10 pixels lines with a 5 pixels space between them.

The second style is used to specify a color (Outline color) and width (Width) for the outline stroke.



Example, legend


Example, in map


Submit a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.