<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Hi,<br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Maybe you want to see if all vertices are reachable from the starting (red) point.<br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">What I would do is a pgr_dijkstra(one to many) and verify which vertices are not reachable and manually change the direction of the ones that are not.<br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Vicky<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, May 9, 2018 at 1:51 AM, andy <span dir="ltr"><<a href="mailto:aborruso@gmail.com" target="_blank">aborruso@gmail.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">
Hi,
<br>I have a simple network like the one on the left side of the image below (<a href="https://i.imgur.com/4mHWfCz.png" target="_blank">https://i.imgur.com/4mHWfCz.<wbr>png</a>).
<br>The line directions of the left side are those I used to draw the lines.
<br><br>Choosing a starting point (in the image the red one), is there in pgrouting a way to assign/calculate the "right" direction of the network (the one I have on
<br>the right)?<br>Imagine that this is an hidraulic network in a flat world and that I 
<span id="m_2478443631642777691gmail-result_box" class="m_2478443631642777691gmail-short_text" lang="en"><span class="m_2478443631642777691gmail-">open a water faucet</span></span>

in the red point. I want to "correct" the directions highlighted in green on the right, and have the water direction.
<br><br>Thank you
<br>

<br><img src="cid:ii_jgyqpmew0" alt="immagine.png" style="margin-right:25px"><br><br clear="all"><br>-- <br><div dir="ltr" class="m_2478443631642777691gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><span style="font-size:small">___________________</span><br></div><div dir="ltr"><span style="font-size:small"><br></span></div><div dir="ltr">Andrea Borruso<br>
website: <a href="https://medium.com/tantotanto" target="_blank">https://medium.com/tantotanto</a><br>38° 7' 48" N, 13° 21' 9" E, EPSG:4326<br><span style="font-size:small">___________________</span><br>
<br>
"cercare e saper riconoscere chi e cosa,<br>
 in mezzo all’inferno, non è inferno, <br>
e farlo durare, e dargli spazio"<br>
<br>
Italo Calvino<br></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
<br>______________________________<wbr>_________________<br>
Pgrouting-users mailing list<br>
<a href="mailto:Pgrouting-users@lists.osgeo.org">Pgrouting-users@lists.osgeo.<wbr>org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/pgrouting-users" rel="noreferrer" target="_blank">https://lists.osgeo.org/<wbr>mailman/listinfo/pgrouting-<wbr>users</a><br></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><pre>Georepublic UG (haftungsbeschränkt)
Salzmannstraße 44, 
81739 München, Germany

Vicky Vergara
Operations Research

eMail: vicky@<a href="http://georepublic.de" target="_blank">georepublic.de</a>
Web: <a href="https://georepublic.info" target="_blank">https://georepublic.info</a>

Tel: +49 (089) 4161 7698-1
Fax: +49 (089) 4161 7698-9

Commercial register: Amtsgericht München, HRB 181428
CEO: Daniel Kastl

<span></span></pre></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
</div>