line with arrows

joerg pfeiffer superbla3000 at GMX.NET
Fri Nov 19 09:23:28 EST 2004


thanks a lot! That's what I needed.
First i had some probems with webdings, but then I changed the symbol to:
SYMBOL
        NAME "arrow"
        TYPE TRUETYPE
        FONT verdana
        CHARACTER ">"
        FILLED true
        ANTIALIAS true
        GAP -70
END

best regards
Joerg

fx gamoy wrote:
> 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
>>
>>
>>
>> ------------------------------------------------------------------------
>>



More information about the mapserver-users mailing list