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, 16:15

BinaryEarth's gravatar image

BinaryEarth
112
accept rate: 0%

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

(03 Mar, 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

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:

×57
×46

question asked: 01 Mar, 16:15

question was seen: 190 times

last updated: 03 Mar, 09:03

powered by OSQA