Why not ask your question on the new OpenStreetMap Community Forum?


I'm new to OSM.

I need to get a list of addresses of residential buildings with information about the locality type (village or city).

When I receive a list of nodes and select residential buildings, I do not receive information about the type of locality. As I understand it, this information is contained in the relation or related objects. How i can add this information to target nodes?

I'm doing it:

osmconvert.exe target-area.osm.pbf --all-to-nodes --max-objects=1000000000 -o=target-nodes.xml
osmfilter.exe target-nodes.xml --keep-nodes="building=residential or building=village or ... " -o=buildings.xml

... and then get the addresses from the received nodes.

Thanks in advance!

asked 19 Oct, 16:29

evsar's gravatar image

accept rate: 0%

Be the first one to answer this question!
toggle preview

Follow this question

By Email:

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



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:


question asked: 19 Oct, 16:29

question was seen: 187 times

last updated: 19 Oct, 16:29

powered by OSQA