Hi Martijn,

> What does that timestamp mean? The time the file was created? The time
> of the newest feature in the file?

The latter.

> The latter can be extracted from a PBD using osmconvert
> --out-statistics (which is what I do) but there may be easier ways...

Yes, this is what I do also. But it takes 10 minutes with a PBF planet. This 
consumes the advantage PBF has over compressed XML.

It seems, the file timestamp is the only feature the XML planet files provide 
but the PBF planet files lack.
And it seems osmconvert is presently the only tool which is able to write PBF 
files with a file timestamp.

However, the toolchains which create the planet.pbf (or extracts from it) do 
not use osmconvert; they use other tools which probably are much more suited 
for this purpose. For this reason I would like to encourage the developers of 
that tools to enhance their software accordingly. This would accelerate the 
file-based updates significantly.

Grüße
Markus

-------- Original-Nachricht --------
> Datum: Sun, 9 Sep 2012 18:02:44 -0600
> Von: Martijn van Exel <[email protected]>
> An: [email protected]
> CC: [email protected]
> Betreff: Re: [OSM-dev] file timestamp in planet.pbf ?

> Hey,
> 
> What does that timestamp mean? The time the file was created? The time
> of the newest feature in the file?
> The latter can be extracted from a PBD using osmconvert
> --out-statistics (which is what I do) but there may be easier ways...
> 
> Martijn
> 
> On Sun, Sep 9, 2012 at 2:47 PM,  <[email protected]> wrote:
> > Hello!
> >
> > Presently, only XML planet files contain a file timestamp. Example:
> >
> >   <osm version="0.6" generator="OpenStreetMap planet.c"
> timestamp="2012-08-22T11:34:27Z">
> >
> > I really would like to use the PBF planet files, but I need a file
> timestamp for my toolchain.
> >
> > How can this be accomplished? How can I help?
> >
> > Markus
> >
> > _______________________________________________
> > dev mailing list
> > [email protected]
> > http://lists.openstreetmap.org/listinfo/dev
> 
> 
> 
> -- 
> martijn van exel
> http://oegeo.wordpress.com

_______________________________________________
dev mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/dev

Reply via email to