add-pois-to-areas processing vs. point processing

Question: Is it possible to achieve for a point, generated by add-pois-to-areas, the same processing as for an identical point? point: name: Junge shop: bakery Rule: shop = bakery & name = * {name '${name} (Bäckerei)'} [0x2a0d resolution 24] Result: Junge (Bäckerei) closedway: building: yes name: Kamps shop: bakery Rule: compiler option "add-pois-to-areas" Result: Kamps Is it anyway possible to achieve the result "Kamps (Bäckerei)" instead of "Kamps"? Regards Klaus -- View this message in context: http://gis.638310.n2.nabble.com/add-pois-to-areas-processing-vs-point-proces... Sent from the Mkgmap Development mailing list archive at Nabble.com.

Points defined the OSM files and points generated by the add-pois-to-areas option are processed by the same rules in the points file. This behaviour is new since the lastest revision r2049. So using the latest mkgmap download you should achieve the desired results. WanMil
Question: Is it possible to achieve for a point, generated by add-pois-to-areas, the same processing as for an identical point?
point: name: Junge shop: bakery Rule: shop = bakery& name = * {name '${name} (Bäckerei)'} [0x2a0d resolution 24] Result: Junge (Bäckerei)
closedway: building: yes name: Kamps shop: bakery Rule: compiler option "add-pois-to-areas" Result: Kamps
Is it anyway possible to achieve the result "Kamps (Bäckerei)" instead of "Kamps"?
Regards Klaus
-- View this message in context: http://gis.638310.n2.nabble.com/add-pois-to-areas-processing-vs-point-proces... Sent from the Mkgmap Development mailing list archive at Nabble.com. _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Perfect and just-in-time - thanks for implementing this. Regards Klaus -- View this message in context: http://gis.638310.n2.nabble.com/add-pois-to-areas-processing-vs-point-proces... Sent from the Mkgmap Development mailing list archive at Nabble.com.

Good job Wanmil! Finally I can get rid of all the airport icons on every terminal building :-) polygon style: aeroway=terminal [0x13 resolution 20] points: aeroway=terminal & mkgmap:area2poi!=true [0x2f04 resolution 22] 02f04 is the default Garmin airport icon but it cluttered the map before. I could turn it off but then also pois are not rendered if no areas/buildings were drawn.

Ha, that's fun! And the solution was quite easy to realize :-) Have fun! WanMil
Good job Wanmil! Finally I can get rid of all the airport icons on every terminal building :-)
polygon style: aeroway=terminal [0x13 resolution 20]
points: aeroway=terminal& mkgmap:area2poi!=true [0x2f04 resolution 22]
02f04 is the default Garmin airport icon but it cluttered the map before. I could turn it off but then also pois are not rendered if no areas/buildings were drawn.
_______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Thanks Wanmil, The Multipolygon zoo is also released from all its elephants ;-) Now only one is left on a poi that I tagged with role=label, and this works fine too.
participants (3)
-
Minko
-
toc-rox
-
WanMil