[mapserver-users] couldn't make my arrows symbols parallel to the lines

Havard Tveite havard.tveite at nmbu.no
Mon Sep 5 08:02:13 PDT 2016


Try a negative GAP value.

http://mapserver.org/mapfile/style.html:

GAP
"For lines, a negative GAP value will cause the symbols’ X axis to be 
aligned relative to the tangent of the line."

Håvard

On 05. sep. 2016 14:49, Ahmet Temiz wrote:
> Hi,
> I have line layer.
> I couldn't make my arrows symbols parallel to the lines
>
> ​SYMBOL
>     NAME 'fArrow'
>     TYPE vector
>     POINTS
>         4 1
>         3 0
>         -99 -99
>         4 1
>         3 2
>         -99 -99
>         4 1
>         0 1
>     END
> END
>
> ----
>
> STYLE
>       COLOR   0 255 0
>       SYMBOL "fArrow"
>       offset 5 5
>       SIZE 5.0
>       ANGLE  AUTO
>       GAP 200
>     END # STYLE
>
> Doesn't  "ANGLE  AUTO" make parallel to the line ?
>
> What am I doing wrong ?
>
> regards
>>
> --
> Ahmet Temiz
> Jeoloji Müh.
> Afet ve Acil Durum Yönetimi Başkanlığı
> Bilgi İşlem  Dairesi Başkanlığı-CBS Grubu
>
>
> ________________________
>
> Ahmet Temiz
> Geological Eng.
> Information Systems - GIS Group
> Disaster and Emergency Management
> of Presidency
>
>
> _______________________________________________
> 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