[OSM-dev] Timestamp in PBF files

Gregory Williams gregory at gregorywilliams.me.uk
Wed Nov 21 09:02:48 GMT 2012


> -----Original Message-----
> From: Frederik Ramm [mailto:frederik at remote.org]
> Sent: 21 November 2012 08:44
> To: Scott Crosby
> Cc: dev at openstreetmap.org
> Subject: Re: [OSM-dev] Timestamp in PBF files
> 
[Snip]
> 
> To be self-contained, it should be sufficient to include the "baseURL"
> from configuration.txt, no?
> 
> So maybe:
> 
>    optional string writingprogram = 16;
>    optional string source = 17;
>    optional sint64 timestamp = 18;
>    optional sint64 replication_timestamp = 19;
>    optional string replication_url = 20;
> 
> I don't know if the sequenceNumber from state.txt adds any value, if it
does
> then one could throw that in as well.

I think including the sequenceNumber will be useful for making it easy to
determine where to continue replication from once the PBF file is processed.
Just to clarify that the replication_url will need to include the minute /
hour / day as appropriate for the sequenceNumber to apply to the appropriate
sequence, i.e. from the configuration.txt like you say.

Gregory




More information about the dev mailing list