1OSMIUM-OUTPUT-HEADERS(5)                              OSMIUM-OUTPUT-HEADERS(5)
2
3
4

NAME

6       osmium-output-headers - Header options that can be set on output files
7

DESCRIPTION

9       Most  osmium  commands  that write OSM files can set values in the file
10       header of the OSM file using the --output-header option.
11
12       The format generally is --output-header=OPTION=VALUE.   For  some  com‐
13       mands  you  can use the special format --output-header=OPTION! (ie.  an
14       exclamation mark after the OPTION and no value set) to set the value to
15       the  same  as  in the input file.  See the individual command man pages
16       for where this is allowed.
17

HEADER OPTIONS

19       generator
20              Set the “generator program” value.  Default is “osmium/VERSION”.
21              Can  also  be  set  using  the --generator option.  (XML and PBF
22              files only.)
23
24       xml_josm_upload
25              Value of the upload attribute on the osm XML  element  (true  or
26              false) for use in JOSM.  (XML files only.)
27
28       osmosis_replication_timestamp
29              Timestamp used in replication (PBF files only).
30
31       osmosis_replication_sequence_number
32              Sequence number used in replication (PBF files only).
33
34       osmosis_replication_base_url
35              Base URL for change files used in replication (PBF files only).
36
37       sorting
38              Set  the  Sort.Type_then_ID property in the PBF header if set to
39              Type_then_ID.  Other values are currently not  supported.   (PBF
40              files  only).   Note  that  this only sets the header option, it
41              does not actually sort the file! Use osmium sort for that.
42

EXAMPLES

44       Copy the file  in.osm.pbf  to  out.osm.pbf  setting  the  generator  to
45       myscript:
46
47              osmium cat --output-header=generator=myscript -o out.osm.pbf in.osm.pbf
48

SEE ALSO

50osmium(1)
51
52       • Osmium website (https://osmcode.org/osmium-tool/)
53
54       • Replication headers (https://wiki.openstreetmap.org/wiki/PBF_Format)
55
57       Copyright (C) 2013-2022 Jochen Topf <jochen@topf.org>.
58
59       License  GPLv3+:  GNU  GPL  version  3  or  later  <https://gnu.org/li
60       censes/gpl.html>.  This is free software: you are free  to  change  and
61       redistribute it.  There is NO WARRANTY, to the extent permitted by law.
62

CONTACT

64       If  you  have  any  questions  or  want  to  report a bug, please go to
65       https://osmcode.org/contact.html
66

AUTHORS

68       Jochen Topf <jochen@topf.org>.
69
70
71
72                                    1.14.0            OSMIUM-OUTPUT-HEADERS(5)
Impressum