Hi Gerd,
I like the idea to have somehow a map polygone limiting or extending the 'background'-map (means DEM, sea, background poly). How about --map-polygon?

So if I got it right, this develloping will end in non-rectangle shaped map tiles?
Henning

On 10.01.2018 16:54, Gerd Petermann wrote:
Hi all,

I think that the bounding polygon given with option --dem-poly should be also be used in the precomp-sea option,
so that mkgmap doesn't generate sea polygons outside of the bounding polygon. With the current code a map of e.g.
scandinavia looks strange, see attached picture.

In a further step I should try to use that polygon also for the background polygon (0x4B) and other data.
In a final step we might be able to use it for routing data so that you can split maps at left-driving / right-driving boundaries,
but that needs more thinking.

I've not coded anything yet, but I wonder if the option should be changed from dem-poly to e.g. --polygon-file or --bounding-polygon.

Gerd


_______________________________________________
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev