[GRASS-user] obtain node sequence from v.net.salesman

Gavin Fleming gavin at afrispatial.co.za
Mon May 7 18:43:18 EDT 2012


>
> The last line of the output should look like this, giving you the 
> category values of the nodes in route order:
>
> Nodes' categories (layer 2, 994 nodes):
> 42,41,164,38,126,15,52,84,16,55,17,157,60,6,61,8,1,76,72,46,47,68,24,25,26,28 
>
>

How could I parse the 'Nodes categories' array from the debug output 
(I'm stuck with 6.4.1 for now)?  More specifically , I need to do it in 
Python with grass.script.

Gavin



More information about the grass-user mailing list