[OSM-dev] file timestamp in planet.pbf ?
marqqs at gmx.eu
marqqs at gmx.eu
Mon Sep 10 12:23:23 BST 2012
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 <m at rtijn.org>
> An: marqqs at gmx.eu
> CC: dev at openstreetmap.org
> 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, <marqqs at gmx.eu> 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
> > dev at openstreetmap.org
> > http://lists.openstreetmap.org/listinfo/dev
>
>
>
> --
> martijn van exel
> http://oegeo.wordpress.com
More information about the dev
mailing list