Program to filter OpenStreetMap data
The input file name must be supplied as command line argument. The file must not be a stream. Redirections from standard input will not work because the program needs random access to the file. You do not need to specify the input format, osmfilter will recognize these.
Formats: .osm (XML), .osc (OSM Change File), .osh (OSM Full History), .o5m (speed-optimized) and .o5c (speed-optimized Change File).
The output format is .osm by default. If you want a different format, please specify it using the appropriate command line parameter.