one way roads, drawing spaced arrows
rich.fromm
nospam420 at YAHOO.COM
Tue Jan 22 16:26:59 PST 2008
tbonfort wrote:
>
> vector should show up however.
> what's your symbol definition and your corresponding STYLE block ?
>
using a truetype symbol, i have something like the following, thanks to your
previous tip:
--- begin 1a ---
SYMBOL
NAME "fwdArrowFont"
TYPE truetype
# XXX eventually we should use some arrow specific font
FONT verdana-bold
CHARACTER ">"
GAP -10
END
--- end 1a ---
this works, and has some spacing between the "arrows", as desired.
if i switch to using a vector symbol, like the following:
--- begin 2a ---
SYMBOL
NAME 'fwdArrow'
TYPE vector
POINTS
4 1
3 0
-99 -99
4 1
3 2
-99 -99
4 1
0 1
END
END
--- end 2a ---
this sort of works, but the arrows touch each other, with no spacing.
if i add a negative GAP to the vector symbol, like i did for the truetype:
--- begin 2b ---
SYMBOL
NAME 'fwdArrow'
TYPE vector
POINTS
4 1
3 0
-99 -99
4 1
3 2
-99 -99
4 1
0 1
END
GAP -10
END
--- end 2b ---
then no symbols show up at all. same result (no symbols) if i change to GAP
10. if i change to GAP 0, the result is the same as having no GAP at all
(symbols are present, with no spacings).
the corresponding STYLE blocks are this:
--- begin 1b ---
STYLE
COLOR 102 153 204
SIZE 5
SYMBOL 'fwdArrowFont'
END
--- end 1b ---
and this:
--- begin 2c ---
STYLE
COLOR 102 153 204
SIZE 5
SYMBOL 'fwdArrow'
END
--- end 2c ---
respectively.
- rich
--
View this message in context: http://www.nabble.com/one-way-roads%2C-drawing-spaced-arrows-tp15006747p15032264.html
Sent from the Mapserver - User mailing list archive at Nabble.com.
More information about the MapServer-users
mailing list