[mapserver-users] Re: Arrowhead in Mapserver 6.0

Makoto Niwa niwa at orkney.co.jp
Wed May 11 01:36:23 EDT 2011


me again,

It was resoleved.
I used negative value in vector symbol point such as -20,-10.
It was wrong. I thougt only -99 was non-continuous line value.
Use all postive value(except non-continuous value -99) in it,
I can get the same results by all 3 renderers.

thanks,

makoto.

At 06 May 2011 13:59:45 +0900 Makoto Niwa wrote:
> Hi,list
> 
> I tried new MapServer 6.0(rc2).
> 
> I got diffrent images GD/PNG and CAIRO renderes for arrowhead symbols.
> 
> Attached images are
> ms6_gd.gif : render by GD/GIF
> ms6_aggpng8.png : render by AGG/PNG
> 
> CAIRO renderer image is as same as AGG.
> CARIO/AGG renderer has incorrect ofsset for arrowhead symbols.
> I used vcetor type symbols for arrowhead symbols.
> 
> But I got same results both AGG and GD in MapSever 5.6
> 
> Is this behavior correct in MapServer 6 ?
> 
> regards,
> 
> makoto.
> 
> ---------------------------------------------------
> Symbol definition:
>   SYMBOL
>     NAME "from"
>     TYPE vector
>     POINTS
>       0 10
>       -20 0
>       0 -10
>       -99 -99
>       -40 10
>       -99 -99
>       -40 -10
>     END
>   END
> 
>   SYMBOL
>     NAME "to"
>     TYPE vector
>     POINTS
>       0 10
>       20 0
>       0 -10
>       -99 -99
>       40 10
>       -99 -99
>       40 -10
>     END
>   END
> 
> Style in the layer:
>       STYLE
>         ANGLE AUTO
>         GEOMTRANSFORM "start"
>         SYMBOL "from"
>         COLOR 255 20 20
>         WIDTH 2
>       END
>       STYLE
>         ANGLE AUTO
>         GEOMTRANSFORM "end"
>         SYMBOL "to"
>         COLOR 20 20 255
>         WIDTH 2
>       END
> 
> ---------------------------------------------------
> Makoto Niwa Orkney,Inc.
> Queen's Tower C 12F
> 2-3-5 Minatomirai, Nishi, Yokohama, Japan
> TEL.81-45-228-3320  FAX.81-45-228-3321
> E-mail niwa at orkney.co.jp http://www.orkney.co.jp
> 
> ------------------------------------------------------------------------
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users


---------------------------------------------------
丹羽 誠  (株)オークニー
〒220-6212
横浜市西区みなとみらい2-3-5 クイーンズタワーC棟12階
Tel.045-228-3320  Fax.045-228-3321
E-mail:niwa at orkney.co.jp URL:www.orkney.co.jp


More information about the mapserver-users mailing list