<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Thanks Moritz, your tip saved the day. <br>
<br>
I've added this to <a class="moz-txt-link-freetext" href="http://trac.osgeo.org/grass/ticket/1650">http://trac.osgeo.org/grass/ticket/1650</a><br>
<br>
<img src="cid:part1.07090001.02020208@afrispatial.co.za" alt=""><br>
<br>
<br>
<br>
On 30/04/2012 11:34, Moritz Lennert wrote:
<blockquote cite="mid:4F9E5C94.5010609@club.worldonline.be"
type="cite">On 30/04/12 11:30, Moritz Lennert wrote:
<br>
<blockquote type="cite">On 30/04/12 11:10, Gavin Fleming wrote:
<br>
<blockquote type="cite">Here's my route - it's easy enough to
see the nodes but how to extract
<br>
them in the order they need to be visited?
<br>
<br>
v.select just selects them, but not in route order.
<br>
</blockquote>
<br>
There's currently no official way of getting the node ids in
order.
<br>
However, there is a workaround that allows you to get that info
using
<br>
debug output:
<br>
<br>
<br>
[using the NC demo data]
<br>
<br>
v.net in=streets_wake points=schools_wake
out=streets_with_schools
<br>
operation=connect thresh=50
<br>
g.gisenv set=DEBUG=2
<br>
v.net.salesman in=streets_with_schools out=salesroute
ccats=1-999
<br>
</blockquote>
<br>
<br>
Sorry, above is not totally correct: you actually do not need to
set the DEBUG variable, just setting the verbose flag is enough:
<br>
<br>
v.net in=streets_wake points=schools_wake out=streets_with_schools
<br>
operation=connect thresh=50
<br>
v.net.salesman in=streets_with_schools out=salesroute ccats=1-999
--v
<br>
<br>
But still, this should probably be upgraded from a hidden feature
to a real option.
<br>
<br>
Moritz
<br>
<br>
<br>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
regards
Gavin
Gavin Fleming
<a class="moz-txt-link-freetext" href="http://afrispatial.co.za">http://afrispatial.co.za</a>
t: 0218620670
c: 0845965680
f: 0866164820
</pre>
</body>
</html>