<div class="gmail_quote">On Wed, May 6, 2009 at 10:47 PM, Rob Reid <span dir="ltr"><<a href="mailto:rob@robreid.co.nz">rob@robreid.co.nz</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Maarten Deen wrote the following on 07/05/2009 07:31:<br>
<div class="im">> Is it possible that in the Xapi servers, the version attribute is only present<br>
> in nodes that have been changed after the 0.6 transition?<br>
> If I download data from Xapi, it is missing in most nodes, except for those<br>
> edited after 2009-04-28 (in my dataset).<br>
><br>
</div>See 80n's email to talk about it a couple of days ago<br>
<a href="http://lists.openstreetmap.org/pipermail/talk/2009-May/036563.html" target="_blank">http://lists.openstreetmap.org/pipermail/talk/2009-May/036563.html</a><br>
<div class="im">> I think this is quite an important issue as the 0.6 api will not accept uploads<br>
> without a version.<br>
><br>
</div>I'm not sure Xapi is your best source of data if you are planning on<br>
editing it and feeding  it back into the main api as there is no<br>
guarantee you are dealing with the latest data.<br>
For example around the 5th May it was returning data from the 29th April<br>
and I could see it slowly catching up with each query I did over the<br>
next few days.<br>
</blockquote><div><br>It has been playing catchup since the 0.6 upgrade and is currently not far behind.  It's normal state is to be about 5 minutes behind the live database.<br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
All the editing programs (except  maybe potlatch which has its own<br>
interface) go through the main api for this reason, I think Xapi is<br>
intended more for search and querying the data in a read-only way where<br>
having the guaranteed latest version is not so important.<br>
Now that the api supports versions you may be safe since any edits you<br>
try where you don't have the current version will be rejected but if you<br>
were doing it pre-api 0.6 its possible you were reverting other peoples<br>
changes.<br>
</blockquote><div><br>Unlikely since the lag is normally only 5 minutes and most areas don't change very much at all.  In practice the risk of edit collisions (unless there's a mapping party or something intense happening) is very very low.  0.6 gives you version protection now anyway, so it's perfectly safe (famous last words).<br>
<br>80n<br><br><br><br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
rcr<br>
<div><div></div><div class="h5"><br>
<br>
_______________________________________________<br>
talk mailing list<br>
<a href="mailto:talk@openstreetmap.org">talk@openstreetmap.org</a><br>
<a href="http://lists.openstreetmap.org/listinfo/talk" target="_blank">http://lists.openstreetmap.org/listinfo/talk</a><br>
</div></div></blockquote></div><br>