<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 Anor,<br><br>interesting, I've just posted a possible explanation for this. <br>Please check if the boundary below is divided as described here:<br><a href="http://gis.19327.n5.nabble.com/Duplicate-cities-tp5845284.html" target="_blank">http://gis.19327.n5.nabble.com/Duplicate-cities-tp5845284.html</a><br><br>Gerd<br><br><div><hr id="stopSpelling">From: anorcarlos@hotmail.com<br>To: mkgmap-dev@lists.mkgmap.org.uk<br>Date: Wed, 20 May 2015 10:38:06 -0300<br>Subject: Re: [mkgmap-dev] [mkgmap-svn] Commit: r3573: admin_centre-v1.patch: avoid to create duplicate POI<br><br>

<style><!--
.ExternalClass .ecxhmmessage P {
padding:0px;
}

.ExternalClass body.ecxhmmessage {
font-size:12pt;
font-family:Calibri;
}

--></style>
<div dir="ltr"><br id="ecxFontBreak"><span id="ecxresult_box" lang="en"><span class="ecxhps">Hi</span> <span class="ecxhps">Gerd</span><br> <span class="ecxhps">I see you</span> <span class="ecxhps">have</span> <span class="ecxhps">more</span> <span class="ecxhps">case</span> <span class="ecxhps">doubling the</span> <span class="ecxhps">POI</span> <span class="ecxhps">in</span> <span class="ecxhps">admin_level</span> <span class="ecxhps">10</span> <span class="ecxhps">when</span> <span class="ecxhps">have</span> <span class="ecxhps">included</span> <span class="ecxhps">place</span> <span class="ecxhps">in the relationship.</span> <span class="ecxhps">This makes</span> <span class="ecxhps">2</span> <span class="ecxhps">POI<br><br></span></span><div id="ecxinlineImage0" style="display:inline-block;">    <span>&nbsp;</span>    <div class="ecxinlineImage" style="display:inline-block;" unselectable="on"><img src="cid:inlineImage0" height="645" width="694"></div>    <span>&nbsp;</span></div><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br><font style="" color="#ff0000"></font>&nbsp;<br><font style="" color="#ff0000"></font>&nbsp;<br><font style="" color="#ff0000"></font>&nbsp;<br><font style="" color="#ff0000"></font>&nbsp;<br><font style="" color="#ff0000"></font>&nbsp;<br><font style="" color="#ff0000"></font>&nbsp;<br><br><font style="" color="#ff0000"><font style="background-color:#92d050;"><u>_______________________________________________________________________________________________________</u></font></font><div><font color="#ff0000"><font style="background-color:#92d050;"><u><br></u></font></font>
<p align="left"><font face="Arial"><font size="5"><font style="background-color:#ffffff;" color="#205867"><strong>Anor C. A. de Souza &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Co</strong></font><strong><font style="background-color:#ffffff;" color="#ff0000"><font color="#205867">ncórdia&nbsp;SC&nbsp;</font></font></strong></font></font></p><p align="left"><font face="Arial"><font size="5"><strong><font style="background-color:#ffffff;" color="#ff0000"><font color="#205867">&nbsp; </font></font></strong></font></font><br></p><br><p align="center"><strong><font color="#ff0000"></font></strong>&nbsp;</p>&nbsp;<br>&nbsp;<br>&nbsp;<br>&nbsp;<br>&nbsp;<br>&nbsp;<br>&nbsp;<br>&nbsp;<br></div><br><br><div>&gt; From: svn@mkgmap.org.uk<br>&gt; To: mkgmap-svn@lists.mkgmap.org.uk<br>&gt; Date: Sun, 10 May 2015 06:30:59 +0100<br>&gt; Subject: [mkgmap-svn] Commit: r3573: admin_centre-v1.patch: avoid to create        duplicate POI<br>&gt; <br>&gt; <br>&gt; Version mkgmap-r3573 was committed by gerd on Sun, 10 May 2015<br>&gt; <br>&gt; admin_centre-v1.patch: avoid to create duplicate POI <br>&gt; <br>&gt; It implements the following:<br>&gt; When POIGeneratorHook creates a POI for a type=boundary relation<br>&gt; with boundary=administrative it searches for a role=admin_centre member<br>&gt; in that relation.<br>&gt; If one is found, the generated POI will use the coordinates of this member.<br>&gt; <br>&gt; I see no easy way to compare the tags of the existing<br>&gt; node with those of the generated POI, so<br>&gt; as a second step, StyledConverter detects when a POI<br>&gt; with the same type and name (or empty name) is created at the<br>&gt; same Garmin coordinates (after style processing)<br>&gt; If that is true, the latter one is ignored and an info message is logged.<br>&gt; <br>&gt; Maybe for certain types this should be changed to check for a radius<br>&gt; rather than equality, but that would require complex configuration.<br>&gt; _______________________________________________<br>&gt; mkgmap-svn mailing list<br>&gt; To unsubscribe send an mail to mkgmap-svn-leave@lists.mkgmap.org.uk<br>&gt; http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-svn<br></div>                                               </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>