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


I would like to parse *osm.pbf-files using osmosis as library inside my java application. I found this post which gives an idea how to do this. I successfully extracted the nodes/ways/relations inside a boundingbox and was also able to parse the nodes for some desired tags inside my application.

Since there are so many different tags in different situations, I would like to know, if osmosis can do some filtering for me? For example, currently it is enough for me, to extract all buildings inside the boundingbox. Is there a way to tell osmosis to do this for me, so I do not have to parse all nodes inside the boundingbox? Maybe there is a more general approach to this, e.g. to give osmosis a list of tags, for which it should parse?

asked 04 Sep '13, 11:03

Pille456'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: 04 Sep '13, 11:03

question was seen: 2,716 times

last updated: 04 Sep '13, 11:03

powered by OSQA