<div dir="ltr">Ok thanks for the answer and the pointer on example,<div><br></div><div>It is more or less what I was expecting.</div><div>I'll post here if i code something usefull and general enough,<br></div><div><br>
</div><div>Cheers,</div><div><br></div><div>Rémi-C</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/10/21 Sandro Santilli <span dir="ltr"><<a href="mailto:strk@keybit.net" target="_blank">strk@keybit.net</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">There's an example of navigating it with recursive CTE<br>
in the implementation of GetRingEdges:<br>
<br>
<a href="https://github.com/postgis/postgis/blob/2.1.0/topology/sql/query/GetRingEdges.sql.in#L50" target="_blank">https://github.com/postgis/postgis/blob/2.1.0/topology/sql/query/GetRingEdges.sql.in#L50</a><br>
<br>
Have fun!<br>
<br>
--strk;<br>
<div class="HOEnZb"><div class="h5"><br>
On Mon, Oct 21, 2013 at 11:19:05AM -0200, George Silva wrote:<br>
> I kinda need something similar. My objective was to calculate strahler<br>
> stream order and horton's stream order.<br>
><br>
> I was feeling that the topology graph next_edge could give me the data that<br>
> I need, but I haven't really tried. I also would like to hear if someone<br>
> else has the same or something that could be done.<br>
><br>
> Any thoughts?<br>
><br>
><br>
> On Mon, Oct 21, 2013 at 11:10 AM, Rémi Cura <<a href="mailto:remi.cura@gmail.com">remi.cura@gmail.com</a>> wrote:<br>
><br>
> > Hey dear list,<br>
> ><br>
> > Anybody has some advices about navigating trough topology graph (ie given<br>
> > a node, find list of next, etc).<br>
> ><br>
> > I was thinking of using directly the table "edge_data", but it feels like<br>
> > a lots of self join.<br>
> ><br>
> ><br>
> > Cheers,<br>
> > Rémi-C<br>
_______________________________________________<br>
postgis-users mailing list<br>
<a href="mailto:postgis-users@lists.osgeo.org">postgis-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users" target="_blank">http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users</a><br>
</div></div></blockquote></div><br></div>