[mapserver-users] AGG renderer: Is there a way to disable the antialias feature with pattern brushes?

Tamas Szekeres szekerest at gmail.com
Sun Oct 18 13:39:33 PDT 2009


Folks,

Is there a way to disable antialias support with the agg renderer when
drawing vector symbol based pattern fills?
I've just wanted to construct some of the pre-defined mapinfo fill patterns
(see image attached) but it seems the results are quite different by using
the agg and gd renderers (the latter is the desired result). Another issue
with this kind of antialiased drawing is that we may encounter glitches at
the tile borders (for example when drawing hatches this way.)

The symbol definition of this one looks something like:

SYMBOL
  NAME 'mapinfo-brush-62'
  TYPE VECTOR
  POINTS
    0 1
    4 5
    7 2
    -99 -99
    4 1
    4 1
    -99 -99
    0 5
    0 5
    -99 -99
    0 7
    0 7
    -99 -99
    2 7
    2 7
    -99 -99
    4 7
    4 7
    -99 -99
    6 7
    6 7
  END
END



Best regards,

Tamas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20091018/2eb695d2/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pattern.png
Type: image/png
Size: 3626 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20091018/2eb695d2/attachment.png>


More information about the MapServer-users mailing list