<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><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: paco.tyson@free.fr<br>Date: Wed, 20 May 2015 16:58:45 +0200<br>To: mkgmap-dev@lists.mkgmap.org.uk<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
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev</div>                                               </div></body>
</html>