Re: [MAPSERVER-USERS] agg and line widths

2008-04-03 Thread thomas bonfort
tanya, different symptoms but same problem here. even if your mapserver layer is of type LINE, your counties data is polygonal data and therefore has duplicate edges, and mapserver will happilly draw these edges twice. depending on how the linestrings of the polygon are stored, the pattern of your

Re: [MAPSERVER-USERS] agg and line widths

2008-04-02 Thread DNC
Thomas, I'm drawing administrative boundaries like counties. The data came from a polygon shapefile and converted to PostGIS. The boundaries are topologically correct in that shared boundaries are completely coincident and not adjacent. I have never seen these polygons being drawn like you

Re: [MAPSERVER-USERS] agg and line widths

2008-04-02 Thread thomas bonfort
hi, it's one of the drawbacks of antialiasing in general, not a mapserver specific issue. an analogy could be found when drawing on paper with a felt-tip pen: if you pass twice on the same line the resulting effect is that the paper is twice as saturated in ink and the line appears thicker. this

[MAPSERVER-USERS] agg and line widths

2008-03-29 Thread DNC
Hi. I'm having trouble getting thin lines to draw. The thinnest line I get seems to be 2 pixels wide at least. Using GD the lines are indeed 1 pixel. Anyone can point out why this happens? Some sections from the map file: OUTPUTFORMAT NAME 'AGG_Q' DRIVER AGG/PNG MIMETYPE image/png IMAGEMODE