Adding attributes to Areas

2 messages Options
Embed this post
Permalink
Nerdnum

Adding attributes to Areas

Reply Threaded More More options
Print post
Permalink
Some javascript/style in this post has been disabled (why?)
Adding attributes to Areas

Hi

I have used v.buffer to create a number of circles on a map from a vector layer containing only points. I would now like to assign one of the attributes associated with the points to the circles I have created with v.buffer. I have tried all kinds of things, but have not succeeded. Can anyone make a suggestion?

Louis


_______________________________________________
grass-windows mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-windows
Moritz Lennert

Re: Adding attributes to Areas

Reply Threaded More More options
Print post
Permalink
On 08/01/09 10:37, Louis Becker wrote:
> Hi
>
> I have used v.buffer to create a number of circles on a map from a
> vector layer containing only points. I would now like to assign one of
> the attributes associated with the points to the circles I have created
> with v.buffer. I have tried all kinds of things, but have not succeeded.
> Can anyone make a suggestion?

v.db.addcol map=Buffers column="point_attr [int or float or varchar]
(chose appropriate type)"
v.distance from=Buffers from_type=centroid to=Points upload=to_attr
to_column=DesiredAttribute column=point_attr

see relevant man pages for details.

Moritz

_______________________________________________
grass-windows mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-windows