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

I want to keep all other objects unchanged.

asked 22 Sep '13, 17:12

Bulwersator's gravatar image

Bulwersator
468121625
accept rate: 14%

2

You haven't explained your purpose but if you want to extract/keep only cycleways then keep in mind that there are other important combinations like bicycle=designated and bicycle=official, too.

(23 Sep '13, 10:06) scai ♦

@scai - thanks for info about official and other weird tags.

(23 Sep '13, 18:58) Bulwersator

This should work:

osmfilter input.o5m --drop-ways="highway=footway and bicycle!=yes" -o=output.o5m

permanent link

answered 25 Sep '13, 22:07

Marqqs's gravatar image

Marqqs
448510
accept rate: 22%

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:

×60

question asked: 22 Sep '13, 17:12

question was seen: 9,013 times

last updated: 25 Sep '13, 22:07

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