Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

GRASS has extensive and brilliant documentation, but I still have a bit of trouble using v.net.path. in the example for shortest path, it says: "

#Shortest path: ID as first number, then cat1 and cat2

echo "1 1 2" | v.net.path myroads_net_time alayer=3 nlayer=2 out=mypath"

I've had trouble understanding what ID is; my table has 'cat' as it's primary key, but there is no ID column.

Any ideas?

P.S. I'm using Grass 6.4 on Mac.

share|improve this question
    
Please post which GRASS GIS version you use. –  markusN Mar 29 '13 at 12:20

1 Answer 1

up vote 2 down vote accepted

Here the "ID" (as first number) defines the ID of the shortest path to be calculated. This is followed by "cat1" and "cat2" of the nodes to be connected.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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