[GRASS-user] Move points to nearest feature in a different layer
"António M. Rodrigues"
amrodrigues at fcsh.unl.pt
Mon Mar 1 07:23:07 EST 2010
Yes, that works.
On Mar 1, 2010, at 11:59 AM, Daniel Victoria wrote:
> I've done it using v.distance. It can output the x and y coords of the
> nearest feature (check upload option). So then I just created a new
> point vector with the coords given by v.distance
> 2010/3/1 "António M. Rodrigues" <amrodrigues at fcsh.unl.pt>:
>> Dear GRASS users,
>> I'm having some problems trying to find a way to snap/move all
>> points from
>> one layer to the nearest node in another layer.
>> I found that with v.distance, I can find distances to all nodes in
>> desired layer (the information is in the output window, although I
>> figured out yet how to manipulate this).
>> Also, v.edit has a move and a snap option, although I believe the
>> expects some input like coordinates, not the name of another layer.
>> So, I'm guessing that the solution will probably involve working
>> with these
>> two funcions, but I haven't figured out how
>> Perhaps I'm just looking in the wrong place and there is a function
>> in GRASS
>> that performs this "snap to another layer" in one go.
>> I'm sorry if this is kind of a beginner question...
>> Thanks for any help.
>> grass-user mailing list
>> grass-user at lists.osgeo.org
More information about the grass-user