i have buildings data from osm and ward boundaries. i need to find which building lies in which ward and add that information in the building data.
INPUT:
way id='242474181' action='modify' timestamp='2013-10-17T11:42:37Z' uid='1700096' user='GautamPratik' visible='true' version='1' changeset='18401787'
nd ref='2499343546'
nd ref='2499343543'
nd ref='2499343539'
nd ref='2499343541'
tag k='building' v='yes'
</way>
OUTPUT:
way id='242474181' action='modify' timestamp='2013-10-17T11:42:37Z' uid='1700096' user='GautamPratik' visible='true' version='1' changeset='18401787'
nd ref='2499343546'
nd ref='2499343543'
nd ref='2499343539'
nd ref='2499343541'
tag k='building' v='yes'
tag k='district' v='kathmandu'
tag k='vdc' v='kathmandu metropolitan city'
tag k='ward' v='4'
</way>
asked 26 Oct '13, 03:14

amritkarma
684●21●29●41
accept rate: 11%
Where do you want to add this information? In the main database or your local copy? And why do you want to add this information to each building instead of creating one single area for every ward and attach all shared information to this area?