<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 Andrzej,<br><br>it seems easy to use the information provided by the relation.<br>I'll have a look at it.<br>The current algo searches for the closest street, so I think that the<br>evaluation of the relation will only help in cases were a building<br>is close to one street but the relation says that the address is another<br>one.<br><br>Gerd<br><br><div>> Date: Sun, 30 Nov 2014 14:25:03 +0100<br>> From: popej@poczta.onet.pl<br>> To: mkgmap-dev@lists.mkgmap.org.uk<br>> Subject: [mkgmap-dev] relation associatedStreet<br>> <br>> Hi,<br>> <br>> I can't find references in mkgmap code to relation associatedStreet. Is <br>> it supported?<br>> http://wiki.openstreetmap.org/wiki/Relation:associatedStreet<br>> <br>> This relation bounds houses to streets. I think it should be used by <br>> mkgmap to add housenumbers to streets. Relation can't be described in <br>> style, since it is defined basing on members role instead of tags. <br>> Example of use could be following:<br>> <br>> <node id="101" Lat="12.31" Lon="4.56"><br>> <tag k="addr:housenumber" v="5"/><br>> </node><br>> <br>> <way id="12"><br>> <nd ref="200"><br>> <nd ref="201"><br>> <tag k="highway" v="tertiary"/><br>> <tag k="name" v="Long Street"/><br>> </node><br>> <br>> <relation id="3"><br>> <member type="node" ref="101" role="house" /><br>> <member type="way" ref="12" role="street" /><br>> <tag k="type" v="associatedStreet" /><br>> </relation><br>> <br>> Can mkgmap find that house number 5 belongs to Long Street?<br>> <br>> -- <br>> Best regards,<br>> Andrzej<br>> _______________________________________________<br>> mkgmap-dev mailing list<br>> mkgmap-dev@lists.mkgmap.org.uk<br>> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev<br></div>                                            </div></body>
</html>