.TH "OSMIUM" "1" "1.13.1" "" "" .SH NAME .PP osmium \- multipurpose tool for working with OpenStreetMap data .SH SYNOPSIS .PP \f[B]osmium\f[] \f[I]COMMAND\f[] [\f[I]ARG\f[]\&...] .PD 0 .P .PD \f[B]osmium\f[] \-\-version .SH DESCRIPTION .PP Multipurpose tool for working with OpenStreetMap data. .PP Run \f[B]osmium help\f[] \f[I]COMMAND\f[] to get more information about a command. This will only work on Linux and OS/X systems and only if the \f[C]man\f[] command is available and working correctly. .SH OPTIONS .TP .B \-h, \-\-help Show usage and list of commands. .RS .RE .TP .B \-\-version Show program version. .RS .RE .SH COMMANDS .TP .B add\-locations\-to\-ways add node locations to ways in OSM file .RS .RE .TP .B apply\-changes apply OSM change file(s) to OSM data file .RS .RE .TP .B cat concatenate OSM files and convert to different formats .RS .RE .TP .B changeset\-filter filter changesets from OSM changeset files .RS .RE .TP .B check\-refs check referential integrity of OSM file .RS .RE .TP .B derive\-changes create OSM change file from two OSM files .RS .RE .TP .B diff display differences between OSM files .RS .RE .TP .B export export OSM data .RS .RE .TP .B extract create geographical extracts from an OSM file .RS .RE .TP .B fileinfo show information about an OSM file .RS .RE .TP .B getid get objects from OSM file by ID .RS .RE .TP .B getparents get parents of objects from OSM file .RS .RE .TP .B help show help about commands .RS .RE .TP .B merge merge several OSM files into one .RS .RE .TP .B merge\-changes merge several OSM change files into one .RS .RE .TP .B renumber renumber object IDs .RS .RE .TP .B show show OSM file .RS .RE .TP .B sort sort OSM files .RS .RE .TP .B tags\-filter filter OSM data based on tags .RS .RE .TP .B time\-filter filter OSM data by time from a history file .RS .RE .SH COMMON OPTIONS .PP Most commands support the following options: .TP .B \-h, \-\-help Show short usage information. .RS .RE .TP .B \-v, \-\-verbose Set verbose mode. The program will output information about what it is doing to STDERR. .RS .RE .SH MEMORY USAGE .PP Osmium commands try to do their work as memory efficient as possible. But 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. Look into the man pages for the individual commands to learn more about their memory use. .PP On most commands, if you use the \f[B]\-\-verbose/\-v\f[] 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.) .PP If an osmium command exits with an \[lq]Out of memory\[rq] error, try running it with \f[B]\-\-verbose/\-v\f[] on smaller datasets to get an idea how much memory it needs. .PP On Linux a program that uses a lot of memory can be killed by the kernel without the program being notified. If you see osmium dieing without any apparent reason, this might be the case. Search on the Internet for \[lq]OOM killer\[rq] to find out more about this. .SH SEE ALSO .IP \[bu] 2 \f[B]osmium\-add\-locations\-to\-ways\f[](1), \f[B]osmium\-apply\-changes\f[](1), \f[B]osmium\-cat\f[](1), \f[B]osmium\-changeset\-filter\f[](1), \f[B]osmium\-check\-refs\f[](1), \f[B]osmium\-derive\-changes\f[](1), \f[B]osmium\-diff\f[](1), \f[B]osmium\-export\f[](1), \f[B]osmium\-extract\f[](1), \f[B]osmium\-fileinfo\f[](1), \f[B]osmium\-getid\f[](1), \f[B]osmium\-getparents\f[](1), \f[B]osmium\-merge\f[](1), \f[B]osmium\-merge\-changes\f[](1), \f[B]osmium\-renumber\f[](1), \f[B]osmium\-show\f[](1), \f[B]osmium\-sort\f[](1), \f[B]osmium\-tags\-filter\f[](1), \f[B]osmium\-time\-filter\f[](1), \f[B]osmium\-file\-formats\f[](5) .IP \[bu] 2 Osmium website (https://osmcode.org/osmium-tool/) .SH COPYRIGHT .PP Copyright (C) 2013\-2021 Jochen Topf . License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. .SH CONTACT .PP If you have any questions or want to report a bug, please go to https://osmcode.org/contact.html .SH AUTHORS Jochen Topf .