On 18/04/11 12:55, Micha Silver wrote:
On 04/18/2011 12:55 PM, Moritz Lennert wrote:

v.distance should be able to do the labelling for you.


I tried this part, but couldn't get it to work :-( . I used v.what.vect
(and v.distance directly) to get the cat values from the new points into
the river vector line segments, but each time it gave me:

~ > v.distance from=river to=new_pts upload=cat col=pt_cat to_col=cat
100%
100%
1 categories exist in the table
0 records updated
v.distance complete.

But the new_pts vector has 6 cats:
~ > v.category new_pts opt=print
1
2
3
4
5
6

and the river vector has 7 segments:

Yes, but how many cat values. probably all segments have the same cat value. You might have to use v.category to create separate cat values for each line.

Moritz
_______________________________________________
grass-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-user

Reply via email to