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

Maxim Savchenko maxims731 at inbox.ru
Wed Jan 7 13:05:02 EST 2009


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?
> 

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



More information about the mapserver-users mailing list