osm4j-pbf
osm4j-pbf copied to clipboard
Add osmosis_replication_* properties to HeaderBlock
The HeaderBlock proto definition currently does not include the osmosis_replication_timestamp
, osmosis_replication_sequence_number
, and osmosis_replication_base_url
properties as specified here:
https://wiki.openstreetmap.org/wiki/PBF_Format#Definition_of_the_OSMHeader_fileblock
These fields are useful for tracking what an OSM history or snapshot PBF contains, and how to update it with diff files.
This should be a matter of adding the appropriate proto definition here: https://github.com/topobyte/osm4j-pbf/blob/f9a9255ba3c17fd1b6fa388a5a5bb3917ed2bc57/res/proto/osmformat.proto#L57