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

Havard Tveite havard.tveite at umb.no
Mon Oct 19 08:51:41 EDT 2009


Dear Tamas,

I also miss the possibility to mix AGG's superb rendering of lines
and points with non-anti-aliased vector polygon fills (I don't think
everything can be solved using HATCH yet).

Since AGG does not seem to support anti-aliased rendering, I thought
about the possibility to allow some layers to be rendered with GD and
some with AGG, and I suggested this in:
<URL: http://lists.osgeo.org/pipermail/mapserver-dev/2008-December/007995.html>

There were objections to this:
<URL: http://lists.osgeo.org/pipermail/mapserver-dev/2008-December/007997.html>

Håvard

Tamas Szekeres wrote:
> 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
> 
> 
> ------------------------------------------------------------------------
> 

-- 
Håvard Tveite
Department of Mathematical Sciences and Technology, UMB
Drøbakveien 31, POBox 5003, N-1432 Ås, NORWAY
Phone: +47 64965483 Fax: +47 64965401 http://www.umb.no/imt/


More information about the mapserver-users mailing list