Hi Maciek, 'to_along' gives distance measured along linear feature (from it's begining) to the point on that feature (blue point) given by point/centroid from 'to' map (highlighted part of line in the attached picture). 'to_angle' is angle of line in that point (blue point on line) (radians, counter clockwise from x axis)
Martin 2007/10/26, Maciej Sieczka <[EMAIL PROTECTED]>: > Hamish, > > > Regardless, it would be nice to fix 'v.distance upload=dist,to_along' > > Some time ago I asked on GRASS user ml about to_along and > to_angle in v.distance (see below), because I don't > understand how they work, and documenation is lacking here. > You seem to know more. If you can shed some light on this > please do, and I'll update docs. > > Maciek wrote: > >> "to_angle: angle of linear feature in nearest point, > >> counterclockwise from positive x axis, in radians, which is > >> between -PI and PI inclusive" > >> > >> Anybody knows what is "angle of linear feature in nearest > >> point" supposed to mean? > >> > >> BTW - another thing I don't understand in v.distance is the > >> to_along option: "to_along: distance to the nearest point on > >> 'from' feature along linear feature". Anybody knows if the > >> "linear feature" is supposed to be present in vector "from" > >> or vector "to"? > > Maciek > > _______________________________________________ > grass-dev mailing list > grass-dev@grass.itc.it > http://grass.itc.it/mailman/listinfo/grass-dev > -- Martin Landa <[EMAIL PROTECTED]> * http://gama.fsv.cvut.cz/~landa *
<<attachment: to_along.png>>
_______________________________________________ grass-dev mailing list grass-dev@grass.itc.it http://grass.itc.it/mailman/listinfo/grass-dev