osmium
Verified for current stable LTS
Osmium Commands
Osmium command syntax with verified terminal examples.
Commands
8 commands for Osmium
osmium Operations
Osmium Command: Convert File Format Pbf To Xml
osmium cat <path/to/input.osm.pbf> -o <path/to/output.osm> osmium Operations
Osmium Command: Display Contents
osmium show <path/to/input.osm> osmium Archive
Osmium Command: Extract Geographic Region By Bounding Box
osmium extract -b <min_longitude>,<min_latitude>,<max_longitude>,<max_latitude> <path/to/input.pbf> -o <path/to/output.pbf> osmium HTTP
Osmium Command: Extract Geographic Region By Geojson
osmium extract -p <path/to/polygon.geojson> <path/to/input.pbf> -o <path/to/output.pbf> osmium Operations
Osmium Command: Filter Objects Tagged As Restaurant
osmium tags-filter <path/to/input.pbf> amenity=restaurant -o <path/to/output.pbf> osmium Operations
Osmium Command: Filter Way And Relation Objects Tagged As Building
osmium tags-filter <path/to/input.pbf> wr/building -o <path/to/output.pbf> osmium Operations
Osmium Command: Filter Way Objects Tagged As Highway
osmium tags-filter <path/to/input.pbf> w/highway -o <path/to/output.pbf> osmium Operations
Osmium Command: Show File Information
osmium fileinfo <path/to/input.osm> Suggest a Osmium Command
Submit missing workflows, corrections, or verified alternatives for this tool.
FAQ
Coverage: Focused examples for common Osmium workflows.
Verified version: current stable LTS.
Verification: Test commands in a disposable workspace and submit notes for edge cases.