OSMIUM(1)
πΈ OSMIUM β the manual page, but make it a group chat πΈ
okay bestie, gather round, because osmium is that girl. it's the multipurpose tool for working with OpenStreetMap data, and honestly? she does it all. π
β¨ NAME β¨
osmium β multipurpose tool for working with OpenStreetMap data. no cap.
β¨ SYNOPSIS β¨
osmium COMMAND [ARG...]
osmium --version
β¨ DESCRIPTION β¨
Multipurpose tool for working with OpenStreetMap data. she's versatile, she's iconic, she's doing the most. π
Run osmium help COMMAND to get more information about a command. > heads up bestie: this will only work on Linux and macOS systems, and only if the man command is available and working correctly. so if it's giving nothing, check your setup first. π
β¨ OPTIONS β¨
-h,--helpβ show usage and list of commands. the "what can u even do" button.--versionβ show program version. proof of identity, slay.
β¨ COMMANDS β¨
okay here's the whole roster, every single one, no skipping. they all ate. π
add-locations-to-waysβ add node locations to ways in OSM fileapply-changesβ apply OSM change file(s) to OSM data filecatβ concatenate OSM files and convert to different formatschangeset-filterβ filter changesets from OSM changeset filescheck-refsβ check referential integrity of OSM filederive-changesβ create OSM change file from two OSM filesdiffβ display differences between OSM filesexportβ export OSM dataextractβ create geographical extracts from an OSM filefileinfoβ show information about an OSM filegetidβ get objects from OSM file by IDgetparentsβ get parents of objects from OSM filehelpβ show help about commandsmergeβ merge several OSM files into onemerge-changesβ merge several OSM change files into oneremoveidβ remove OSM objects with specified IDsrenumberβ renumber object IDsshowβ show OSM filesortβ sort OSM filestags-filterβ filter OSM data based on tagstime-filterβ filter OSM data by time from a history file
β¨ COMMON OPTIONS β¨
most commands support these cuties:
-h,--helpβ show short usage information.-v,--verboseβ set verbose mode. the program will output information about what it is doing to STDERR. it's basically the gossip channel. π«Ά
β¨ MEMORY USAGE β¨
Osmium commands try to do their work as memory efficient as possible. but bestie, be real β some osmium commands still need to load quite a bit of data into main memory. π in some cases this means that only smaller datasets can be handled. go look into the man pages for the individual commands to learn more about their memory use. iykyk.
On most commands, if you use the --verbose/-v option, osmium will print out the peak memory usage at the end. this is the actual amount of memory used, including the program code itself, any needed libraries, and the data. (printing of memory usage is currently only available on Linux systems. sorry to the mac girlies. π)
If an osmium command exits with an "Out of memory" error, try running it with--verbose/-von smaller datasets to get an idea how much memory it needs. that's the vibe check you need.
On Linux a program that uses a lot of memory can be killed by the kernel without the program being notified. so if you see osmium dying without any apparent reason, this might be the case. π± search on the Internet for "OOM killer" to find out more about this.
β¨ SEE ALSO β¨
osmium-add-locations-to-ways(1),osmium-apply-changes(1),osmium-cat(1),osmium-changeset-filter(1),osmium-check-refs(1),osmium-derive-changes(1),osmium-diff(1),osmium-export(1),osmium-extract(1),osmium-fileinfo(1),osmium-getid(1),osmium-getparents(1),osmium-merge(1),osmium-merge-changes(1),osmium-renumber(1),osmium-show(1),osmium-sort(1),osmium-tags-filter(1),osmium-time-filter(1),osmium-file-formats(5),osmium-index-types(5),osmium-output-headers(5)- Osmium website π
β¨ COPYRIGHT β¨
Copyright (C) 2013-2026 Jochen Topf <jochen@topf.org>.
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. π«Ά
β¨ CONTACT β¨
If you have any questions or want to report a bug, please go to https://osmcode.org/contact.html
β¨ AUTHORS β¨
Jochen Topf <jochen@topf.org>. the main character, honestly. π
and that's the whole page, bestie!! version 1.19.1 of the OSMIUM(1) manual, delivered with love, zero skipped details, and maximum main character energy. go forth and process some OpenStreetMap data. periodt. π
β¨ππ¦
π¦ where this page comes from
- fedora 44: osmium-tool 1.19.1-1.fc44 Β· GPL-3.0-only
- nixos 26.05: osmium-tool 1.19.1
- nixpkgs unstable: osmium-tool 1.19.1
- ubuntu stonking: osmium-tool 1.19.1-1 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms