[GRASS-user] [GRASSLIST:1194] v.distance to_angle is always zero

Jason Horn jhorn at bu.edu
Tue Nov 14 10:47:45 EST 2006


when using v.distance on two vectors containing a single point, the  
'to_angle' value is always 0.  Does anyone know why?  For example:

v.distance from=pt1 to=pt2 out=test_line upload='dist,to_angle'  
column='dist,to_angle' -p --overwrite

gives the following:

from_cat | dist | to_angle
3|162955.770760|0.000000
Statistics:
0 categories with more than 1 feature in 'from'
0 categories - no nearest feature found

Building topology for test_lines ...
Building topology ...
1 primitives registered
Building areas:  100%
0 areas built
0 isles built
Attaching islands:
Attaching centroids:  100%
Topology was built.
Number of nodes     :   2
Number of primitives:   1
Number of points    :   0
Number of lines     :   1
Number of boundaries:   0
Number of centroids :   0
Number of areas     :   0
Number of isles     :   0




More information about the grass-user mailing list