<div dir="ltr"><div>Hi,</div><div><br></div><div>I am looking to compare the directness of routes between the entirety of a network and a subset of the same network. <br></div><div><br></div><div>I see in pgr_createTopology that there is a 
<code class="gmail-docutils gmail-literal gmail-notranslate"><span class="gmail-pre">rows_where</span></code> argument to filter the network. <br></div><div><br></div><div>When I use pgr_dijkstra to calculate routes between node pairs, if I've created two separate topologies, one with the full network and another with the subset using "rows_where". Can i somehow specify which topology the dijkstra algorithm should use? <br></div><div><br></div><div>It occurred to me that I could just include a where clause in the "edges sql" that I provide pgr_dijkstra but I can't find an example of that being done anywhere. <br></div><div><br></div><div>In previous work I've simply made two tables, network and network_subset and then just created topologies for each and calculated routes for each network separately but it seems like I'm just not seeing exactly how to do the same thing in a simpler manner with the "rows_where" argument or some other option.</div><div><br></div><div>Thanks for any solutions or suggestions!</div><div><br></div><div>Hugh  <br></div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div><br></div></div></div></div></div></div></div></div></div></div>