
Hi all, While improving the code of the SeaGenerator I've noticed that the map produced with option --precomp-sea has type 0x15 lines for the coastline while a map produced with option --generate-sea=multipolygon,extend-sea-sectors,close-gaps=350 (used by Ticker) has no such lines. I wonder if this is intended? My test data is attached, it just contains three islands in the ocean. I've also noticed that --precomp-sea in combination with generate-sea=polygon doesn't add any 0x32 polygon in this situation. I've fixed this already in my version. Gerd

Hi With option --generate-sea=multipolygon,... the rule in polygons:
natural=sea {add mkgmap:skipSizeFilter=true; set mkgmap:drawLevel=2} [0x32 resolution 10]
does the work for the sea and the rule in lines:
natural=coastline [0x15 resolution 12] draws the coastlines, both working from the standard map input containing coastline data.
I never understood why anyone would use both options --precomp-sea=file and --generate-sea=... but I'm not sure about you adding the 0x32 polygon - see above Ticker On Fri, 2019-11-29 at 10:59 +0000, Gerd Petermann wrote:
Hi all,
While improving the code of the SeaGenerator I've noticed that the map produced with option --precomp-sea has type 0x15 lines for the coastline while a map produced with option --generate-sea=multipolygon,extend-sea-sectors,close-gaps=350 (used by Ticker) has no such lines.
I wonder if this is intended? My test data is attached, it just contains three islands in the ocean.
I've also noticed that --precomp-sea in combination with generate -sea=polygon doesn't add any 0x32 polygon in this situation. I've fixed this already in my version.
Gerd _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
participants (2)
-
Gerd Petermann
-
Ticker Berkin