[OSM-talk] Osmxapi returns old data

80n 80n80n at gmail.com
Sat Mar 15 01:43:53 GMT 2008


On Sat, Mar 15, 2008 at 12:46 AM, Jon Burgess <jburgess777 at googlemail.com>
wrote:

>
> On Sat, 2008-03-15 at 00:30 +0000, 80n wrote:
> > Lars
> > Thanks for this info, its been very useful.
> >
> > Some edits, that were made during the period when the incremental
> > feeds were down, have not been resynchronized correctly.
> >
> > The problem is due to a difference in the timestamp format between the
> > planet dump and the incremental feeds.
> >
> > I'll fix the resync script and re-run it.
> >
> > 80n
>
> I thought they both used the same format:-
>
> $ gzip -dc /home/www/tile/direct/planet/planet-080312.osm.gz | grep
> timestamp | head -n 3
>  <node id="2" lat="50.1360074" lon="8.3023717"
> timestamp="2007-10-04T18:28:37Z">
>  <node id="4" lat="51.5220733" lon="-0.1458135"
> timestamp="2007-01-29T08:48:14Z"/>
>  <node id="11" lat="4.0840331" lon="73.5129514"
> timestamp="2006-11-04T18:15:03Z">
>
> $ bzip2 -dc daily-20080307-20080308.osc.bz2 | grep timestamp | head -n 3
>    <node id="122329" timestamp="2008-03-07T07:33:53Z" user="mbuege" lat="
> 53.5374636" lon="10.0309499"/>
>    <node id="122330" timestamp="2008-03-07T07:43:48Z" user="mbuege" lat="
> 53.5369426" lon="10.0339214"/>
>    <node id="122331" timestamp="2008-03-07T07:27:15Z" user="mbuege" lat="
> 53.5389492" lon="10.0325114"/>
>
> I can see the order of the attributes is different and the diffs contain
> the user, but the timestamp looks the same format to me. Or do you mean
> the timestamp in the filename?
>

Yeah, the problem is that there _used_ to be a difference, but now there
isn't.  My script was expecting them to be different.


>
>        Jon
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/talk/attachments/20080315/84afc593/attachment.html>


More information about the talk mailing list