AGG rendering Artifacts

26 views
Skip to first unread message

Sven Geggus

unread,
Jun 15, 2012, 11:25:41 AM6/15/12
to map...@googlegroups.com
Hello,

while experimenting with Mapnik and Jochen Topf's new ocean and land
polygons from http://openstreetmapdata.com I ran into the same problem I
first encountered using Mapserver as well.

Here is how this looks like:
http://home.geggus.net/pub/artifacts.png

In reccent Versions of mapserver this can be fixed using a lower gamma value
in AGG: see https://twitter.com/tbonfort/status/93284998249066496

Is there an equivalent in mapnik?

Here is the style I use:

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE Map>
<Map background-color="#579ae3" srs="+init=epsg:3857" minimum-version="2.0.0">

<Style name="land">
<Rule>
<PolygonSymbolizer fill="#f2efe9"/>
</Rule>
</Style>

<Layer name="land" status="on" srs="+init=epsg:3857">
<StyleName>land</StyleName>
<Datasource>
<Parameter name="type">shape</Parameter>
<Parameter name="file"><path>/<to>/<openstreetmapdata.com>/<shapefile>/land_polygons</Parameter>
</Datasource>
</Layer>

</Map>

Regards

Sven

--
Kernel panic: I have no root and I want to scream
(Linux Kernel Error Message)

/me is giggls@ircnet, http://sven.gegg.us/ on the Web

Dane Springmeyer

unread,
Jun 15, 2012, 11:34:19 AM6/15/12
to map...@googlegroups.com, map...@googlegroups.com
Yes, 'gamma' is supported on both the polygon and line symbolizer, and has been since the 0.7.x series of releases.

Dane
Reply all
Reply to author
Forward
0 new messages