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

I want to filter the data for a particular .osm file by highway, name, tiger:county, tiger:zip_left and tiger:zip_right. I've tried osmfilter,but it doesn't quite seem to work the way I want it to. I used it to just filter highway=residential, but when I look at the data it brings back data where highway is not residential. Also, I want to filter where the fields for highway, name, and tiger:county are absolutely populated and either one of zip_left must be populated. Any thoughts on how to do this with osmfilter?

asked 18 Sep '12, 04:08

JMB5's gravatar image

accept rate: 0%


It is always helpful to show us the osmfilter call(s) you have tried so far.

(18 Sep '12, 06:37) scai ♦

You can try with osmosis. You should get the residential highways wich such a command:

osmosis --rx input.osm --tf accept-ways highway=residential --used-node --wx highway.residential.osm

permanent link

answered 18 Sep '12, 08:14

NicolasDumoulin's gravatar image

accept rate: 13%

Your answer
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: 18 Sep '12, 04:08

question was seen: 2,950 times

last updated: 18 Sep '12, 08:14

powered by OSQA