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

Steve Lime Steve.Lime at dnr.state.mn.us
Wed Jan 7 17:52:19 EST 2009


If you're adventurous you could try the dev trunk from svn. It supports fractional line widths so
it's easier to get very fine line work from AGG. 

Steve

>>> On 1/7/2009 at 12:05 PM, in message <1231351502708-2123874.post at n2.nabble.com>,
Maxim Savchenko <maxims731 at inbox.ru> wrote:

> It's too heavy way, but it is a way... Thank you for idea but i will not be
> using it :-) I leave this "as is" or will fallback to the gd driver better.
> 
> 
> Reinoud Bokhorst wrote:
>> 
>> I experienced the same problem a while ago and reverted to using a
>> separate mapfile for the graticule using the GD driver. In your 'main'
>> mapfile you could then create a graticule layer with CONNECTIONTYPE WMS
>> that connects to a URL using the graticule mapfile (f.ex. something like
>> this: http://localhost/cgi/mapserv?map=graticule.map&). This way you still
>> have one entry point for all your layers.
>> 
>> Regards,
>> Reinoud
>> 
>> 
>> 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?
>> 



More information about the mapserver-users mailing list