enter image description here

I have imported line vector layer and point vector layer(12 points) to grass using v.in.ogr. Now i want to use v.in.salesman to find shortest path between these 12 points, but i couldnt input anything in "Input nodes" field.


As far as I know, before using v.net.salesman to get your route, you should connect your points layer to your network (line vector layer) using v.net op=connect [1] at nlayer=2

Once you connect your 12 points to your network as nodes, you'll be able to select your nodes layer from the "input nodes" dropdown menu.

Hope this helps.

[1] http://grass.osgeo.org/grass64/manuals/v.net.html

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.