OSM: Link between node->building->street

المشرف العام

Administrator
طاقم الإدارة
Data: Raw OSM data (.osm XML file).

Target: Connect between house number represented by node, to street name represented by way.

What I did:

In www.openstreetmap.org I can explore elements. So I point the node representing house number:



Then I searched by it's osm_id and found:

Then I searched this node and as expected I found it part of the building represented as way:

Finally I expect MY_BUILDING_ID to be part of another way representing the street. But MY_BUILDING_ID appears only once in the XML file. So I found street's osm_id and found it in the XML as:

But none of the isn't MY_BUILDING_ID, and more over none of the appears again in the XML file.

Conclusion: How to link between known MY_NODE_ID to MY_STREET_ID so later it's easy to make the link between MY_HOUSE_NUMBER and MY_STREET_NAME?



أكثر...
 
أعلى