<div dir="ltr">I don't know if I did this correctly, but:<br><br><a href="https://github.com/pgRouting/pgrouting/pull/221">https://github.com/pgRouting/pgrouting/pull/221</a><br><br></div><div class="gmail_extra"><br><br>
<div class="gmail_quote">On Sat, Nov 30, 2013 at 4:43 PM, Stephen Mather <span dir="ltr"><<a href="mailto:stephen@smathermather.com" target="_blank">stephen@smathermather.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div>Done. Issue <a href="https://github.com/pgRouting/pgrouting/issues/220" target="_blank">#220</a>.<br><br></div>Thanks,<br>Best,<br>Steve<br></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra">
<br><br><div class="gmail_quote">On Sat, Nov 30, 2013 at 2:52 PM, Stephen Mather <span dir="ltr"><<a href="mailto:stephen@smathermather.com" target="_blank">stephen@smathermather.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Cool, I'll write a ticket. It would be mostly useful in the case of e.g. tutorial development.<br>
<br></div>Best,<br>Steve<br></div><div><div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, Nov 30, 2013 at 2:46 PM, Stephen Woodbridge <span dir="ltr"><<a href="mailto:woodbri@swoodbridge.com" target="_blank">woodbri@swoodbridge.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>On 11/30/2013 2:18 PM, Stephen Mather wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Is pgr_createTopology deterministic in how it numbers nodes in a built<br>
topology?<br>
</blockquote>
<br></div>
Stephen,<br>
<br>
What do you mean by this?<br>
<br>
If you build a topology on the same edge table twice, do we guarantee that the nodes numbers will be identical?<br>
<br>
I think the answer is NO, on line:303 of src/common/sql/pgrouting_<u></u>topology.sql there is no "order by" clause. This would need to be added to make it deterministic because relational set theory does not guarantee order of records in a query without explicitly including and "order by" clause.<br>
<br>
Write a bug if you think this is needed and state why.<br>
<br>
Thanks,<br>
-Steve<br>
______________________________<u></u>_________________<br>
Pgrouting-users mailing list<br>
<a href="mailto:Pgrouting-users@lists.osgeo.org" target="_blank">Pgrouting-users@lists.osgeo.<u></u>org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/pgrouting-users" target="_blank">http://lists.osgeo.org/<u></u>mailman/listinfo/pgrouting-<u></u>users</a><br>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>