On 25/06/09 10:58, xavier garcia acosta wrote:


Hello everybody,


I'm working with cadastre information and I've got the next problem. I've the polygons that represent the plots of the houses but without any attribute. I've also the points with the attributes of the previous polygons. That I would like to do is to add the attributes of the points to the polygons. Has anybody got any idea how to do it?

If the points are within the polygons, you can also try with v.distance from=points to=polygons [...] upload=to_attr to_column=cat to load the cat values of the polygons into the attribute table of the points. Then you can use v.db.connect to connect the attribute table of the points to that of the polygons via the polygon cat value. You might want to copy the table (db.copy) before connecting it, in order not to use the same attribute table with the points and polygon layer (if you erase one of the two layers, you will also erase the attribute table...).

Moritz
_______________________________________________
grass-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-user

Reply via email to