[mapserver-users] Difference in GD vs AGG PNG output -- seams in my shape files.

Mark Deneen mdeneen at gmail.com
Tue May 4 10:26:05 EDT 2010


Dane,

I have the default background color set.  However, with the data set we
have, the ocean boarders are well defined but the land masses are not. 
I draw a rough estimate of North America, and then draw the ocean on top
of that.  If I were more accurate with North America, the seams would
not be as big of an issue.

Mark

On 5/4/2010 2:37 AM, Dane Springmeyer wrote:
> You might try setting a map background color the same as your ocean
> color used for the polygons.
>
> Dane
>
>
> On May 3, 2010, at 2:03 PM, Mark Deneen wrote:
>
>> Steve,
>>
>> I had just tried adding an outline before I received this message.  It
>> helps, but at the expense of my coastline.  This is, however, not a
>> terrible issue because you can still see the detail as you zoom in
>> further.
>>
>> Thanks,
>> Mark
>> On 5/3/2010 4:38 PM, Lime, Steve D (DNR) wrote:
>>> You may be seeing some deficiencies in the analytical AA algorithm
>>> AGG uses. I remember reading about it awhile back in discussions
>>> about  alternative algorithms and recall it being prominent with
>>> vertical edges. Have you tried setting an outline color to the same
>>> value as your fill color? That may help.
>>>
>>> Steve
>>> ________________________________________
>>> From: mapserver-users-bounces at lists.osgeo.org
>>> [mapserver-users-bounces at lists.osgeo.org] On Behalf Of Mark Deneen
>>> [mdeneen at gmail.com]
>>> Sent: Monday, May 03, 2010 2:42 PM
>>> To: mapserver-users at lists.osgeo.org
>>> Subject: [mapserver-users] Difference in GD vs AGG PNG output --
>>> seams in my    shape files.
>>>
>>> Hi,
>>>
>>> I recently upgraded from 5.2.x to 5.6.1, and from GD to AGG.
>>>
>>> Here is my output:
>>>
>>> AGG: http://i44.tinypic.com/5oh261.png
>>>
>>> GD: http://i39.tinypic.com/2h4j409.png
>>>
>>> Visual Representation of the shapefile:
>>> http://i44.tinypic.com/1zz2u76.png
>>>
>>> Look north of Cancun -- the AGG driver is showing seams where the
>>> polygons connect in my shape file.  It doesn't do it for all of
>>> them, but I see it a lot, especially when the seams are not straight
>>> N/S or E/W.  I feel that it has something to do with AGG's
>>> antialiasing, but I've not been able to pin it down.
>>>
>>> Is there any way to resolve this?  I'd really like to use the AGG
>>> driver, I love the output it produces, minus the white lines!
>>>
>>> Mark
>>>
>>>
>>
>>
>> _______________________________________________
>> mapserver-users mailing list
>> mapserver-users at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 187 bytes
Desc: OpenPGP digital signature
Url : http://lists.osgeo.org/pipermail/mapserver-users/attachments/20100504/27f4167d/signature.bin


More information about the mapserver-users mailing list