[postgis-users] navigation trough topology graph

Rémi Cura remi.cura at gmail.com
Mon Oct 21 07:58:14 PDT 2013


Ok thanks for the answer and the pointer on example,

It is more or less what I was expecting.
I'll post here if i code something usefull and general enough,

Cheers,

Rémi-C


2013/10/21 Sandro Santilli <strk at keybit.net>

> There's an example of navigating it with recursive CTE
> in the implementation of GetRingEdges:
>
>
> https://github.com/postgis/postgis/blob/2.1.0/topology/sql/query/GetRingEdges.sql.in#L50
>
> Have fun!
>
> --strk;
>
> On Mon, Oct 21, 2013 at 11:19:05AM -0200, George Silva wrote:
> > I kinda need something similar. My objective was to calculate strahler
> > stream order and horton's stream order.
> >
> > I was feeling that the topology graph next_edge could give me the data
> that
> > I need, but I haven't really tried. I also would like to hear if someone
> > else has the same or something that could be done.
> >
> > Any thoughts?
> >
> >
> > On Mon, Oct 21, 2013 at 11:10 AM, Rémi Cura <remi.cura at gmail.com> wrote:
> >
> > > Hey dear list,
> > >
> > > Anybody has some advices about navigating trough topology graph (ie
> given
> > > a node, find list of next, etc).
> > >
> > > I was thinking of using directly the table "edge_data", but it feels
> like
> > > a lots of self join.
> > >
> > >
> > > Cheers,
> > > Rémi-C
> _______________________________________________
> postgis-users mailing list
> postgis-users at lists.osgeo.org
> http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20131021/7e89f98a/attachment.html>


More information about the postgis-users mailing list