NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

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's gravatar image

amritkarma
684212941
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?

(26 Oct '13, 20:55) scai ♦

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×252
×230
×63

question asked: 26 Oct '13, 03:14

question was seen: 2,673 times

last updated: 26 Oct '13, 20:55

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum