Skip to content

Commit

Permalink
Merge pull request #39 from DavidKarlas/fixPBF
Browse files Browse the repository at this point in the history
Fix generated PBF file to be `HistoricalInformation`
  • Loading branch information
joto authored Nov 1, 2023
2 parents d3af909 + c27371b commit 9f53312
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/osmdbt-create-diff.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -650,7 +650,7 @@ bool app(osmium::VerboseOutput &vout, Config const &config,
vout << "Opening output file '" << new_change_file_name << ".pbf'...\n";

osmium::io::Header header;
header.has_multiple_object_versions();
header.set_has_multiple_object_versions(true);
header.set("generator", "osmdbt-create-diff/" + get_osmdbt_version());

osmium::io::Writer writer_xml{new_change_file_name + ".gz", header,
Expand Down

0 comments on commit 9f53312

Please sign in to comment.