logo separator

[mkgmap-dev] [Patch v1] use role=label member to place POI

From Paco Tyson paco.tyson at free.fr on Wed May 20 18:52:38 BST 2015

Gerd,

I don't really have an opinion on which one should be preferred, I was just asking out of curiosity.
The first matching means the first in the list of objects linked to the relation, am I right ?

I have seen label used in the past, I can't guarantee you that both were set but as usual with OSM, we can't eliminate this combination.

Paco

Le 20 mai 2015 à 17:07, Gerd Petermann <gpetermann_muenchen at hotmail.com> a écrit :

> Hi Paco,
> 
> the first one that matches is used. Do you think that one should be prefered?
> Do you have a case where both nodes have the same name as the relation itself?
> 
> Gerd
> 
> From: paco.tyson at free.fr
> Date: Wed, 20 May 2015 16:58:45 +0200
> To: mkgmap-dev at lists.mkgmap.org.uk
> Subject: Re: [mkgmap-dev] [Patch v1] use role=label member to place POI
> 
> Hi Gerd,
> 
> What happens when the relation has both role=label and role=admin_centre ?
> 
> 
> Le 20 mai 2015 à 16:41, Gerd Petermann <gpetermann_muenchen at hotmail.com> a écrit :
> 
> Hi all,
> 
> quite a lot of mp-relations have a node member with role=label.
> 
> The attached patch changes the code for the --add-pois-to-areas option
> so that the location of this node is used for the generated POI
> when the name of the node and the name of the relation are equal
> (like with role=admin_centre)
> 
> A binary is here:
> http://files.mkgmap.org.uk/download/268/mkgmap.jar
> 
> Gerd
> 
> 
> <use-label-node-v1.patch>_______________________________________________
> mkgmap-dev mailing list
> mkgmap-dev at lists.mkgmap.org.uk
> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
> 
> 
> _______________________________________________ mkgmap-dev mailing listmkgmap-dev at lists.mkgmap.org.ukhttp://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
> _______________________________________________
> mkgmap-dev mailing list
> mkgmap-dev at lists.mkgmap.org.uk
> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20150520/76d777e1/attachment-0001.html>


More information about the mkgmap-dev mailing list