logo separator

[mkgmap-dev] Commit: r2366: Handle multipolygon tagging correctly if the mp tags are not used in the style

From svn commit svn at mkgmap.org.uk on Thu Nov 1 10:48:27 GMT 2012

Version 2366 was commited by wanmil on 2012-11-01 10:48:27 +0000 (Thu, 01 Nov 2012) 

Handle multipolygon tagging correctly if the mp tags are not used in the style

The mp algorithm must decide if the tags for the outer polygons are taken from the mp or the outer ways. If an mp has tags (beside type and name*) the tags are taken from the mp otherwise from the outer polygons. mkgmap loads only tags that are used in the style file. So the situation can occur that the mp has tags in the OSM file but they are not loaded, the mp algorithm does not see them and therefore decides to use the outer polygon tags. The OSM load handlers now sets a flag to indicate that the mp has more tags than are loaded so the mp algorithm can decide for sure that the mp tags shall be used.


More information about the mkgmap-dev mailing list