The Symbology Exchange?
Bill Thoen
bthoen at GISNET.COM
Wed Aug 8 10:51:26 PDT 2007
John Cole wrote:
> I would like the swamp symbol AND another railroad symbol :-) I really like
> the idea of the symbol exchange too!
>
OK, here they are.
In the symbols.txt file goes these:
SYMBOL
NAME 'track'
TYPE ELLIPSE
FILLED TRUE
POINTS 1 1 END
END
SYMBOL
NAME "tie"
TYPE cartoline
LINECAP butt
LINEJOIN miter
LINEJOINMAXSIZE 3
STYLE
1 10 1 10
END
END
SYMBOL
NAME 'grass'
TYPE VECTOR
FILLED FALSE
POINTS
5 6
4 5
-99 -99
6 6
5 4
-99 -99
7 6
7 3
-99 -99
8 6
9 4
-99 -99
9 6
10 5
-99 -99
19 13
18 12
-99 -99
20 13
19 11
-99 -99
21 13
21 10
-99 -99
22 13
23 11
-99 -99
23 13
24 12
END
And I call them like so:
Railroads class:
CLASS
NAME "Railroads"
STYLE
SYMBOL 'track'
SIZE 1
COLOR 128 128 128
ANTIALIAS TRUE
END
STYLE
SYMBOL "tie"
SIZE 5
COLOR 128 128 128
ANTIALIAS TRUE
END
END
Swamp thing (polygon fill)
CLASS
EXPRESSION "Swamp or Marsh"
COLOR 240 255 240
OUTLINECOLOR 128 255 128
STYLE
SYMBOL "grass"
SIZE 30
COLOR 96 128 64
END
END
More information about the MapServer-users
mailing list