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

hi, I converted a .pbf file to a .osm file using osmconvert, however when I go to use osmfilter it does not recognise the file. I know the file works because I have opened it in JOSM and it functions perfectly.

Below is the error and command: ./osmfilter DC.osm --keep="highway=primary =secondary waterway=river natural=peak place=city =town boundary=national_park =adminstrative border_type=state admin_level=4 amenity=university" >DC-sorted.osm osmfilter Error: unknown file format: DC.osm

asked 01 Mar '21, 16:15

BinaryEarth's gravatar image

accept rate: 0%

The command you use seems OK, maybe you should share your files somewhere for us to reproduce the issue?

(03 Mar '21, 05:42) yvecai
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: 01 Mar '21, 16:15

question was seen: 592 times

last updated: 03 Mar '21, 09:03

powered by OSQA