osm4j-pbf icon indicating copy to clipboard operation
osm4j-pbf copied to clipboard

Add osmosis_replication_* properties to HeaderBlock

Open lossyrob opened this issue 6 years ago • 4 comments

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

lossyrob avatar Apr 06 '18 21:04 lossyrob