[mapserver-users] arrow head doesn't draw at the end

Havard Tveite havard.tveite at umb.no
Tue Sep 27 03:18:12 EDT 2011


Have you seen:

http://mapserver.org/mapfile/symbology/construction.html#changing-the-center-of-a-point-symbol

Håvard Tveite

On 9/27/2011 4:12 AM, Puneet Kishor wrote:
> My arrows look like so -->-- instead of ---->  with declarations like so
>
>      SYMBOL
>          NAME "vert-line"
>          TYPE vector
>          POINTS
>              0 1
>              0 0
>          END
>      END
>
>       SYMBOL
>          NAME "up"
>          TYPE vector
>          POINTS
>              0 1
>              0.5 0
>              1 1
>          END
>      END
>
>      CLASS
>          STYLE
>              SYMBOL 'vert-line'
>              ANGLE [az]
>              SIZE [rate]
>              COLOR 0 0 0
>              WIDTH 1
>          END
>          STYLE
>              SYMBOL "up"
>              ANGLE [az]
>              SIZE 5
>              GEOMTRANSFORM "end"
>              COLOR 0 0 0
>          END
>      END
>
> But, at least the arrow heads are aligned correctly. Because, if I use "ANGLE auto" as prescribed in the docs instead of "ANGLE [az]" as shown above, my arrows draw like so --^--. The heads are always pointed up, and are in the middle.
>
> Suggestions?
>
> --
> Puneet Kishor_______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users


More information about the mapserver-users mailing list