[GRASS-user] Point attributes to a polygons

Micha Silver micha at arava.co.il
Thu Jun 25 06:00:35 EDT 2009


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?
>
Are these GRASS vectors? If so, then "polygons" do not have attributes. 
An area feature is made of closed boundary lines and the centroid. The 
boundary lines can belong to several areas, so attributes that are 
attached to the boundary lines do not represent a particular area. The 
centroid, on the other hand, will exactly correspond to the area.

So, if I understand your question, all you have to do is merge the two 
vectors (v.patch), then convert the points to centroids (v.type) and 
you're done. The points as centroids already hold the attributes.



> Thanks
>
>
> Nuevo Windows Live, un mundo lleno de posibilidades Descu'brelo. 
> <http://www.microsoft.com/windows/windowslive/default.aspx>
>
> This mail was received via Mail-SeCure System.
> ------------------------------------------------------------------------
>
> _______________________________________________
> grass-user mailing list
> grass-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-user
>
> This mail was received via Mail-SeCure System.
>
>
>   



More information about the grass-user mailing list