[OSM-dev] Timestamp in PBF files

Stephan Knauss osm at stephans-server.de
Tue Nov 20 17:57:50 GMT 2012


Frederik Ramm writes: 

> I really don't mind *how* it's done but I would really love to have one 
> agreed way to place a timestamp in a PBF instead of everyone rolling their 
> own.

I would prefer epoch timestamps. That's a widely accepted way of storing 
time information without the need to worry about time zones and such. 

While we change the header: Could we also include a field to indicate a 
full history planet? After the redaction period the lat/lon is only a 
required field for non-redacted elements.
Is it possible to express this in protobuf? 

If not, it would be fine to have at least a defined value for "undefined" 
we could document. If I remember correctly Jochen suggested to use MAXINT 
for this. 

Stephan



More information about the dev mailing list