<div>> Correct. I would be happy though if writers of editors etc. could act as<br>> if the relation members were ordered, and thus upload them in the same<br>> sequence they were downloaded. This gives us the option of switching to</div>
<div> </div>
<div>In APISs/interfaces there's often a dilemma to make 'life' easier for writers or readers.<br>Imposing the "same order" is even more demanding for 'data producers' than imposing an ordering.</div>
<div>I would not recommend both in order to make APIs simple.</div>
<div>-- S.</div>
<div> </div>
<div class="gmail_quote">2008/6/1 Frederik Ramm <<a href="mailto:frederik@remote.org">frederik@remote.org</a>>:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hi,<br>
<div class="Ih2E3d"><br>>> Next to this; can a user explicitly trust the sequence 1,2,1,3; or is<br>>> this currently not guaranteed?<br>><br>> This is not guaranteed. Relations are unordered. As far as I can tell<br>
> currently the API returns relations with the member nodes sorted by ascending<br>> ID first and then the member ways sorted by ascending ID<br><br></div>Correct. I would be happy though if writers of editors etc. could act as<br>
if the relation members were ordered, and thus upload them in the same<br>sequence they were downloaded. This gives us the option of switching to<br>an ordered mode later if we think it is necessary, without having to<br>
change editors.<br><br>Bye<br><font color="#888888">Frederik<br></font>
<div>
<div></div>
<div class="Wj3C7c"><br>_______________________________________________<br>dev mailing list<br><a href="mailto:dev@openstreetmap.org">dev@openstreetmap.org</a><br><a href="http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/dev" target="_blank">http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/dev</a><br>
</div></div></blockquote></div><br>