logo separator

[mkgmap-dev] [PATCH v1] Extend tags for poi placement for the add-pois-to-areas option

From WanMil wmgcnfg at web.de on Tue Oct 18 22:06:50 BST 2011

Because I know lots of you want to configure the placement behaviour of 
the add-pois-to-areas option I have implemented a small patch for it.

The patch adds a new option "pois-to-areas-placement". This option 
defines on which node the POI generated from a polygon is placed 
preferrably.

Example:
pois-to-areas-placement=entrance=main;entrance=yes;building=entrance
means:
The POI node is placed to the first node with entrance=main or if it 
does not exists at the first node with entrance=yes or if that does not 
exist at the first node with building=entrance. If no rule matches the 
POI is generated at the center of the polygon.

It's also possible to use wildcards like:
pois-to-areas-placement=entrance=*;building=entrance


Maybe someone can read my awful help text in the options file and can 
improve that? It would be good to have a better text to commit :-)

Have fun!
WanMil
-------------- next part --------------
A non-text attachment was scrubbed...
Name: area2poi_placement_v1.patch
Type: text/x-patch
Size: 6301 bytes
Desc: not available
Url : http://lists.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20111018/21589ec8/attachment.bin 


More information about the mkgmap-dev mailing list