logo separator

[mkgmap-dev] Commit r3867: refactoring, no functional change: simplify code to add background polygon (type 0x4B)

From Gerd Petermann GPetermann_muenchen at hotmail.com on Sun Mar 26 13:45:02 BST 2017

Hi all,

I think the meaning of the --transparent option is a bit unclear .
It tells mkgmap to set a flag in the TRE header and it tells mkgmap NOT to add a background polygon (0x4B) covering the tile.
I wonder if it should also mean that mkgmap should remove (filter) all 0x4b polygons
added by the style or read from polish (*.mp) sources (and maybe warn about this when it does so).
The current implementation doesn't do that.

The implementation for the overview map always adds a 0x4b polygon in the overview map,
no matter what the --transparent option says. The TRE header in the overview map is written with default values
(not transparent, draw priority 25).
I assume that is okay since I don't think that one can have multiple overview maps.

Gerd
________________________________________
Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von svn commit <svn at mkgmap.org.uk>
Gesendet: Sonntag, 26. März 2017 14:18:53
An: mkgmap-svn at lists.mkgmap.org.uk; mkgmap-dev at lists.mkgmap.org.uk
Betreff: [mkgmap-dev] Commit r3867: refactoring, no functional change: simplify code to add background polygon (type 0x4B)

Version mkgmap-r3867 was committed by gerd on Sun, 26 Mar 2017

refactoring, no functional change: simplify code to add background polygon (type 0x4B)



http://www.mkgmap.org.uk/websvn/revision.php?repname=mkgmap&rev=3867
_______________________________________________
mkgmap-dev mailing list
mkgmap-dev at lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev


More information about the mkgmap-dev mailing list