OSMIUM-OUTPUT-HEADERS(5) | OSMIUM-OUTPUT-HEADERS(5) |
osmium-output-headers - Header options that can be set on output files
Most osmium commands that write OSM files can set values in the file header of the OSM file using the --output-header option.
The format generally is --output-header=OPTION=VALUE. For some commands you can use the special format --output-header=OPTION! (ie. an exclamation mark after the OPTION and no value set) to set the value to the same as in the input file. See the individual command man pages for where this is allowed.
Copy the file in.osm.pbf to out.osm.pbf setting the generator to myscript:
osmium cat --output-header=generator=myscript -o out.osm.pbf in.osm.pbf
Copyright (C) 2013-2025 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.
If you have any questions or want to report a bug, please go to https://osmcode.org/contact.html
Jochen Topf <jochen@topf.org>.
1.17.0 |