[mapserver-users] Arrowhead in Mapserver 6.0

Makoto Niwa niwa at orkney.co.jp
Fri May 6 00:59:45 EDT 2011


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ms6_aggpng8.png
Type: image/png
Size: 50288 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/mapserver-users/attachments/20110506/ee298a08/ms6_aggpng8-0001.png
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ms6_gd.gif
Type: image/gif
Size: 16097 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/mapserver-users/attachments/20110506/ee298a08/ms6_gd-0001.gif


More information about the mapserver-users mailing list