[mapserver-users] how to do a simbol of arrow
Stepan Kafka
stepan.kafka@centrum.cz
Fri, 19 Apr 2002 22:36:14 +0200
You can use truetype line symbols for it:
1. Define true type symbol, e.g.:
SYMBOL
NAME "arrow"
TYPE "truetype"
FONT "tahoma" #or what you have set in your fontset file
GAP -10 #the value MUST be negative to enforce "as digitized" orientation
CHARACTER ">" #or your own defined arrow symbol
END
2. then in your map file layer class definition
CLASS
SYMBOL "arrow"
SIZE 10
COLOR etc...
END
You can also set OVERLAYSYMBOL to combine arrows with lines etc... You can
also use POSITION parameter in the symbol definition to set the symbol
above/under line etc...
Stepan Kafka
> -----Původní zpráva-----
> Od: owner-mapserver-users@lists.gis.umn.edu
> [mailto:owner-mapserver-users@lists.gis.umn.edu]za uživatele Michel M.
> dos Santos
> Odesláno: 19. dubna 2002 20:29
> Komu: mapserver-users@lists.gis.umn.edu
> Předmět: [mapserver-users] how to do a simbol of arrow
>
>
>
>
>
> Hello All,
>
> I need to represent a simbol like a arrow , for point a way.
>
> Example:
>
> point 1 -> -> -> -> -> -> -> -> -> -> -> -> point 2
>
> point 4 <- <- <- <- <- <- <- <- <- <- <- <- point 3
>
> Others angles too, always point a direction.
>
> This simbol should have a angle. How to do it ?
>
>
> --
> []'s
> Michel M. dos Santos
>
>