<HTML><HEAD>
<STYLE><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></STYLE>
</HEAD>
<BODY class=hmmessage dir=ltr>
<DIV dir=ltr>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: 'Calibri'; COLOR: #000000">
<DIV>Hi,</DIV>
<DIV> </DIV>
<DIV>On Mon, May 04, Gerd Petermann wrote:</DIV>
<DIV>
<DIV
style='FONT-SIZE: small; TEXT-DECORATION: none; FONT-FAMILY: "Calibri"; FONT-WEIGHT: normal; COLOR: #000000; FONT-STYLE: normal; DISPLAY: inline'>>
I got some screenshots from Anor.Carlos that show this relation:<BR>> <A
href="http://www.openstreetmap.org/relation/333659"
target=_blank>http://www.openstreetmap.org/relation/333659</A><BR>> which has
name=Barra do Garças and place=town. <BR><BR>> If I got that right, the
--add-pois-to-area option creates a node with the tag place=town for it,
although the relation also has a member <BR>> <A
href="http://www.openstreetmap.org/node/415522222"
target=_blank>http://www.openstreetmap.org/node/415522222</A><BR>> with
place=town and name=Barra do Garças<BR><BR>> As a result, the map contains
two POI with very different locations, one has the additional tag
mkgmap:area2poi=true, but that doesn't help in the style rules to filter
duplicate entry because one doesn't know about the node 415522222.
<BR></DIV></DIV>
<DIV><SPAN lang=en id=result_box><FONT face="Times New Roman"><SPAN
class=hps>Yes, in</SPAN> <SPAN class=hps>relation</SPAN> <SPAN
class=hps>the</SPAN> <SPAN class=hps>--add</SPAN><SPAN
class=atn>-poi</SPAN><SPAN>-to</SPAN><SPAN>-area</SPAN> <SPAN class=hps>creates
a node</SPAN> <SPAN class=hps>with</SPAN> the tag <SPAN
class=hps>place</SPAN> <SPAN class=hps>=</SPAN> <SPAN class=hps>town,</SPAN>
<SPAN class=hps>but</SPAN> <SPAN class=hps>in</SPAN> <SPAN class=hps>this</SPAN>
relation <SPAN class=hps>there is</SPAN> <SPAN class=hps>415522222</SPAN> <SPAN
class=hps>member</SPAN> <SPAN class=hps>node that</SPAN> <SPAN class=hps>is
the</SPAN> place=<SPAN class=hps>town</SPAN> <SPAN class=hps>positioned in
its</SPAN> <SPAN class=hps>true location</SPAN><SPAN>.</SPAN><BR><SPAN lang=en
id=result_box><SPAN class=hps>The knot</SPAN> <SPAN class=hps>created</SPAN>
<SPAN class=hps>by the</SPAN> <SPAN class=hps>--add</SPAN><SPAN>-to</SPAN><SPAN
class=atn>-it-</SPAN><SPAN>area</SPAN> <SPAN class=hps>option</SPAN> <SPAN
class=hps>in this</SPAN> <SPAN class=hps>case</SPAN> <SPAN class=hps>duplicates
an</SPAN> <SPAN class=hps>existing</SPAN> <SPAN class=hps>node place=town, <SPAN
lang=en id=result_box><SPAN class=hps>but</SPAN> <SPAN class=hps>in another
position</SPAN><SPAN>.</SPAN></SPAN></SPAN></SPAN></FONT></SPAN></DIV>
<DIV><SPAN lang=en><FONT face="Times New Roman"><SPAN class=hps>This</SPAN>
<SPAN class=hps>node member</SPAN> <SPAN class=hps>(415522222)</SPAN> <SPAN
class=hps>was included in the</SPAN> <SPAN class=hps>relationship as</SPAN>
<SPAN class=hps>admin_centre</SPAN><SPAN>.</SPAN></FONT></SPAN></DIV>
<DIV>
<DIV
style='FONT-SIZE: small; TEXT-DECORATION: none; FONT-FAMILY: "Calibri"; FONT-WEIGHT: normal; COLOR: #000000; FONT-STYLE: normal; DISPLAY: inline'><BR>>
My 1st approach would be this:<BR>> After style processing, keep a map that
relates the Garmin POI with the original node, one map for each type. If two or
more POI have the same type and label(s), remove those where the OSM element has
the mkgmap:area2poi=true tag (maybe also the ones with
mkgmap:line2poi=true.<BR>> Gerd</DIV></DIV>
<DIV>
<DIV
style='FONT-SIZE: small; TEXT-DECORATION: none; FONT-FAMILY: "Calibri"; FONT-WEIGHT: normal; COLOR: #000000; FONT-STYLE: normal; DISPLAY: inline'> </DIV></DIV>
<DIV>
<DIV
style='FONT-SIZE: small; TEXT-DECORATION: none; FONT-FAMILY: "Calibri"; FONT-WEIGHT: normal; COLOR: #000000; FONT-STYLE: normal; DISPLAY: inline'><SPAN
lang=en id=result_box><FONT face="Times New Roman"><SPAN class=hps>For
our</SPAN> <SPAN class=hps>tests</SPAN> <SPAN class=hps>in Brazil</SPAN> <SPAN
class=hps>only</SPAN> <SPAN class=hps>identified this</SPAN> <SPAN
class=hps>occurrence of</SPAN> <SPAN class=hps>POI</SPAN> <SPAN
class=hps>duplication</SPAN> <SPAN class=hps>in</SPAN> <SPAN
class=hps>boundary</SPAN> <SPAN class=hps>relations and</SPAN> <SPAN
class=hps>when there is</SPAN> <SPAN class=hps>the relation=boundary</SPAN>
<SPAN class=hps>the</SPAN> <SPAN class=hps>admin_center</SPAN> <SPAN
class=hps>included.</SPAN></FONT></SPAN></DIV>
<DIV> </DIV>
<DIV>Marcio<BR><BR></DIV></DIV></DIV></DIV></BODY></HTML>