<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
hi List,<br>
<br>
Is it possible to rewrite the sample data network to (
<a class="moz-txt-link-freetext" href="http://docs.pgrouting.org/dev/doc/src/developer/sampledata.html#sampledata">http://docs.pgrouting.org/dev/doc/src/developer/sampledata.html#sampledata</a>
)to include a more distinctive data sample?<br>
<br>
I have been trying to use it to provide an input data sample for a
TSP problem. I had problems because the current network generates
several routes that all look identical to the TSP so if you attempt
to do some topological work, you end up with several identicial
routes selections.<br>
<br>
For example the selection <br>
<br>
<pre><span class="k">SELECT</span> <span class="n">seq</span><span class="p">,</span> <span class="n">id</span> <span class="k">FROM</span> <span class="n">pgr_tsp</span><span class="p">(</span><span class="s1">'{{0,1,3,3},{1,0,2,2},{3,2,0,2},{3,2,2,0}}'</span><span class="p">,</span><span class="mi">X</span><span class="p">);
where x is in the range 0-3 will generate 4 paths of which the profile is two routes of 121 or 212 measured in distance unit terms
Dave.
</span></pre>
<br>
<span id="taw" style="margin-right:0"><a class="spell"
href="https://www.google.nl/search?client=ubuntu&hs=aJU&channel=fs&gl=uk&q=topological&spell=1&sa=X&ei=d4zaUfu7DIGDO7f2gcAG&ved=0CCcQvwUoAA"><b><i></i></b></a></span>
</body>
</html>