[GRASS-dev] upload cat values from lines to points

Moritz Lennert mlennert at club.worldonline.be
Wed Nov 23 08:47:22 PST 2016



Le 23 novembre 2016 17:31:17 GMT+01:00, Paulo van Breugel <p.vanbreugel at gmail.com> a écrit :
>Hi devs,
>
>One can use v.what.vect to upload cat values (or attribute values from 
>attribute table) of a polygon vector layer (query map) to attribute 
>table of a point vector layer.
>
>How can I do the same, but using as map to query a line vector layer 
>instead of polygon layer?

Unless you create your points from the lines, the probability that your points are precisely on your lines is extremely low (even when you create them from the lines I'm not sure precision issues won't play you tricks).

I would create small buffers around the lines with attribute transfer to the buffers (-t flag of v.buffer).

Moritz

>
>Cheers,
>
>Paulo
>
>_______________________________________________
>grass-dev mailing list
>grass-dev at lists.osgeo.org
>http://lists.osgeo.org/mailman/listinfo/grass-dev



More information about the grass-dev mailing list