[mapserver-users] MapServer 5.2.1 and AGG/PNG - too thick lines in the grid

Maxim Savchenko maxims731 at inbox.ru
Wed Jan 7 12:14:00 EST 2009


But sometimes (in the over scales) it has 1px of width what i want. This
problem is because the all keywords "ANTIALIASING" in the map file is
ignoring by agg/png driver and no way to disable antialiasing for layer if
it is not need. It is not good, i think.


thomas bonfort wrote:
> 
> that's what antialiasing is supposed to do, as your 1 pixel wide grid
> doesn't fall exactly on a pixel.
> I don't think there is a workaround.
> 
> regards,
> thomas
> 
> On Mon, Jan 5, 2009 at 13:28, Maximsu <maxims731 at inbox.ru> wrote:
>>
>> I have very thick lines in the grid layer when i use agg/png driver. See
>> the
>> map  http://avia.meteonovosti.ru/index.php?index=1&icao=UUEE&iso_cntr=RU
>> here . They must be the 1 pixel width. With the gd/png driver all OK.
>> Width
>> is set to 1 but it does not matter. Is there a way to switch off the line
>> antialiasing for grid layer? Or some another way to solve this problem?
> 

-- 
View this message in context: http://n2.nabble.com/MapServer-5.2.1-and-AGG-PNG---too-thick-lines-in-the-grid-tp2112673p2123611.html
Sent from the Mapserver - User mailing list archive at Nabble.com.



More information about the mapserver-users mailing list