logo separator

[mkgmap-dev] relation associatedStreet

From Andrzej Popowski popej at poczta.onet.pl on Sun Nov 30 13:25:03 GMT 2014

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


More information about the mkgmap-dev mailing list