logo separator

[mkgmap-dev] 2 pois for a single polygon/multipolygon

From WanMil wmgcnfg at web.de on Thu Nov 18 15:41:24 GMT 2010

The mp is tagged wrong. 
http://wiki.openstreetmap.org/wiki/Multipolygon#Tagging points out that 
the tags are taken from the relation if it has at least one tag beside 
type=multipolygon. mkgmap follows this rule strictly since r1711.

The relation is tagged with name=Manila City Hall so the resulting 
polygons of the multipolygon are tagged only with name=Manila City Hall.

Please follow the single and easy rule: Put all tags of the multipolygon 
to the relation and not to the outer ways.

The bug that multiple POIs are created multipolygons could be easily 
fixed. I wasn't aware of this problem. I will post a patch within the 
next days.

Have fun!
WanMil


> This way is tagged as a amenity=townhall and a multipolygon relation:
> http://www.openstreetmap.org/browse/way/24159829
> http://www.openstreetmap.org/browse/relation/452620
>
> In my style:
> polygons:
> building=* | man_made=* | amenity=* | tourism=* [0x13 resolution 24]
>
> and in the points:
> amenity=townhall [0x3003 resolution 21]
> building=* [0x6402 resolution 24]
>
> I have the add-pois-areas switch enabled
>
> This resulted to two POI icons (the little PH flag) in garmin
> http://farm2.static.flickr.com/1290/5184379090_bbeeeaffc8_b.jpg




More information about the mkgmap-dev mailing list