logo separator

[mkgmap-dev] Debugging generated sea polygons

From Minko ligfietser at online.nl on Fri May 21 21:14:15 BST 2010

Ah, that explains why Mapnik renders it fine.
I have found a gap with the http://tools.geofabrik.de/osmi/ tools.
There are actually two coastlines on top of each other, maybe this causes the problem?


I don't know much about coastlines, so I wonder if this situation is wrong, 
and if that is the cause of my problem?

Marko wrote:
>On osm it looks ok:

Someone mentioned that the sea polygons on the Mapnik layer are not 
updated at once. Mapnik is using old data that comes from a complex 
process, as far as I understood.

>Im using the geofabrik abstract from europe to compile my benelux map,
>Any idea how to fix this? I tried another abstract (planet-benelux) but 
>this gave the same results.

Extract the natural=coastline from your map extract or the individual 
tiles and check it in JOSM, using the Validator plugin. Pay attention to 
the "corners" or special looking lines or points. You may also find my 
wayselector plugin useful.  I wrote it for selecting the mainland 
coastline (there were quite a few natural=coastline islands and puddles 
around it on the Finnish coast, and I wanted to tag the puddles as 

>Is it caused by the splitter? Is it an error in de osm data?
>In the mkgmap args i use generate-sea: no-mp,extend-sea-sectors,close-gaps=1000
>and it never went wrong except for the last two weeks.

Pay attention to the mkgmap warnings. Enable logging and check the log 
file. See http://www.polkupyoraily.net/osm/ for an example (osm2img.sh, 
logging.properties, logging.ignore).

mkgmap-dev mailing list
mkgmap-dev at lists.mkgmap.org.uk

More information about the mkgmap-dev mailing list