On 05/10/2012 06:31 PM, Carlos Grohmann wrote:
One approach is a three step process: 1- Begin with v.distance from your points to the line. The 'output' parameter will be a line vector of the (perpendicular) connectors from the points to the line. 2- Next do v.patch to merge the connectors to the line. 3- And finally v.clean with tool=break error=connector_points. The 'error' parameter contains all those points where a new intersection had to be created after patching the connectors to the line vector. (There is a chance that one connector will intersect the line exactly on a node, and then v.clean won't find that point since it's not an 'error'. But that's probably a very rare case.) HTH, Micha
-- Micha Silver GIS Consultant, Arava Development Co. http://www.surfaces.co.il |
_______________________________________________ grass-user mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-user
