<div class="gmail_quote">On Wed, Sep 16, 2009 at 7:38 AM, Peter Körner <span dir="ltr"><<a href="mailto:osm-lists@mazdermind.de">osm-lists@mazdermind.de</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;">
Okay, so how can we go on now.. I'm not a ruby man and I don't have a<br>
possibility to test all this.<br>
<br>
Atm. my fallback-plan is to wait until the Wikimedia-Guys finished setup<br>
of their copy of the osm-db (which will contain the history tables!) so<br>
I can fetch my data directly from the db.<br></blockquote><div><br>It would seem to me that the first step would be to build up a history table that allowed us to know which rev node was used by a way at some revision of a way. This could be done using the timestamps on the nodes and ways as discussed elsewhere, but more importantly, it only needs to be done once. Once we have this info, the way history call could include a node version number along with a ref:<br>
<br><way id=...><br>   <nd ref="..." rev="1" /><br>   <nd ref="..." rev="3" /><br>   <nd ref="..." rev="1" /><br></way><br><br>... etc.<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>
I'm sure some months will pass by until this will happen and it would be<br>
sad I had to stop working until than :)<br>
<br>
Another thing that came into my mind was that we also should have an<br>
versioned GET /api/0.6/[way|relation]/#id/full call (I think this is<br>
what Ian requested, is it?)<br></blockquote><div><br>With the above per-node rev attribute, it would be trivial* to populate a full-history call.<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>
Any one volunteering to work on this?<br><br></blockquote><div><br>I think it would be interesting... if someone helped me populate the initial table based on timestamp in a way that wouldn't take years of CPU time. <br>
</div></div>