line with arrows
fx gamoy
fx.gamoy at MAPXPLORE.COM
Fri Nov 19 04:23:42 PST 2004
Hello,
you should use this
SYMBOL
NAME 'test'
TYPE TRUETYPE
FONT 'webdings'
CHARACTER ""
FILLED true
ANTIALIAS true
GAP -25 # the negatation tells MapServer to honor the vector direction
when computing the angle
END
you need to get a webdings.ttf file in your fonts.txt
exemple of layer
LAYER
NAME 'a line'
TYPE LINE
STATUS ON
CLASS
STYLE
COLOR 0 0 0
SYMBOL "circle"
SIZE 1
END
STYLE
SYMBOL 'test'
COLOR 0 0 0
SIZE 14
END
END
FEATURE
POINTS 10 10 50 100 100 300 300 300 10 490 END
END
END
this works with mapserver 4.0 & up
fx
----- Original Message -----
From: "joerg pfeiffer" <superbla3000 at GMX.NET>
To: <MAPSERVER-USERS at LISTS.UMN.EDU>
Sent: Friday, November 19, 2004 1:06 PM
Subject: [UMN_MAPSERVER-USERS] line with arrows
> hello,
>
> I would like to draw a line with an arrow in it.
> ---->----->----->----
>
> The arrow should always point in the line direction, so if the line goes
> up 30 degrees or so, the arrow does the same.
>
> Joerg
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 110086681212841.gif
Type: image/gif
Size: 2440 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20041119/08885519/attachment.gif>
More information about the MapServer-users
mailing list