[mkgmap-dev] relation associatedStreet
From Gerd Petermann gpetermann_muenchen at hotmail.com on Mon Dec 1 07:02:32 GMT 2014
Hi Andrzej, it seems easy to use the information provided by the relation. I'll have a look at it. The current algo searches for the closest street, so I think that the evaluation of the relation will only help in cases were a building is close to one street but the relation says that the address is another one. Gerd > Date: Sun, 30 Nov 2014 14:25:03 +0100 > From: popej at poczta.onet.pl > To: mkgmap-dev at lists.mkgmap.org.uk > Subject: [mkgmap-dev] relation associatedStreet > > Hi, > > I can't find references in mkgmap code to relation associatedStreet. Is > it supported? > http://wiki.openstreetmap.org/wiki/Relation:associatedStreet > > This relation bounds houses to streets. I think it should be used by > mkgmap to add housenumbers to streets. Relation can't be described in > style, since it is defined basing on members role instead of tags. > Example of use could be following: > > <node id="101" Lat="12.31" Lon="4.56"> > <tag k="addr:housenumber" v="5"/> > </node> > > <way id="12"> > <nd ref="200"> > <nd ref="201"> > <tag k="highway" v="tertiary"/> > <tag k="name" v="Long Street"/> > </node> > > <relation id="3"> > <member type="node" ref="101" role="house" /> > <member type="way" ref="12" role="street" /> > <tag k="type" v="associatedStreet" /> > </relation> > > Can mkgmap find that house number 5 belongs to Long Street? > > -- > Best regards, > Andrzej > _______________________________________________ > mkgmap-dev mailing list > mkgmap-dev at lists.mkgmap.org.uk > http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20141201/ed5ea473/attachment.html>
- Previous message: [mkgmap-dev] relation associatedStreet
- Next message: [mkgmap-dev] relation associatedStreet
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list