<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Gerd,<div><br></div><div>I don't really have an opinion on which one should be preferred, I was just asking out of curiosity.</div><div>The first matching means the first in the list of objects linked to the relation, am I right ?</div><div><br></div><div>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.</div><div><br></div><div>Paco</div><div><br></div><div><div><div>Le 20 mai 2015 à 17:07, Gerd Petermann &lt;<a href="mailto:gpetermann_muenchen@hotmail.com">gpetermann_muenchen@hotmail.com</a>&gt; a écrit :</div><br class="Apple-interchange-newline"><blockquote type="cite"><div class="hmmessage" style="font-size: 12pt; font-family: Calibri; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><div dir="ltr">Hi Paco,<br><br>the first one that matches is used. Do you think that one should be prefered?<br>Do you have a case where both nodes have the same name as the relation itself?<br><br>Gerd<br><br><div><hr id="stopSpelling">From:<span class="Apple-converted-space">&nbsp;</span><a href="mailto:paco.tyson@free.fr">paco.tyson@free.fr</a><br>Date: Wed, 20 May 2015 16:58:45 +0200<br>To:<span class="Apple-converted-space">&nbsp;</span><a href="mailto:mkgmap-dev@lists.mkgmap.org.uk">mkgmap-dev@lists.mkgmap.org.uk</a><br>Subject: Re: [mkgmap-dev] [Patch v1] use role=label member to place POI<br><br>Hi Gerd,<div><br></div><div>What happens when the relation has both role=label and role=admin_centre ?</div><div><br></div><div><br><div><div>Le 20 mai 2015 à 16:41, Gerd Petermann &lt;<a href="mailto:gpetermann_muenchen@hotmail.com">gpetermann_muenchen@hotmail.com</a>&gt; a écrit :</div><br class="ecxApple-interchange-newline"><blockquote><div class="ecxhmmessage" style="font-size: 12pt; font-family: Calibri; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><div dir="ltr">Hi all,<br><br>quite a lot of mp-relations have a node member with role=label.<br><br>The attached patch changes the code for the --add-pois-to-areas option<br>so that the location of this node is used for the generated POI<br>when the name of the node and the name of the relation are equal<br>(like with role=admin_centre)<br><br>A binary is here:<br><code><a href="http://files.mkgmap.org.uk/download/268/mkgmap.jar" target="_blank">http://files.mkgmap.org.uk/download/268/mkgmap.jar</a><br><br></code>Gerd<br><br><br></div><span>&lt;use-label-node-v1.patch&gt;</span>_______________________________________________<br>mkgmap-dev mailing list<br><a href="mailto:mkgmap-dev@lists.mkgmap.org.uk">mkgmap-dev@lists.mkgmap.org.uk</a><br><a href="http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev" target="_blank">http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev</a></div></blockquote></div><br></div><br>_______________________________________________ mkgmap-dev mailing list<a href="mailto:mkgmap-dev@lists.mkgmap.org.uk">mkgmap-dev@lists.mkgmap.org.uk</a><a href="http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev">http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev</a></div></div>_______________________________________________<br>mkgmap-dev mailing list<br><a href="mailto:mkgmap-dev@lists.mkgmap.org.uk">mkgmap-dev@lists.mkgmap.org.uk</a><br><a href="http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev">http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev</a></div></blockquote></div><br></div></body></html>