[GRASS-user] Merging Boundaries and Centroids

Moritz Lennert mlennert at club.worldonline.be
Thu Mar 19 13:57:11 EDT 2009

On 19/03/09 18:34, peter.loewe at gmx.de wrote:
> hi,
> I just got stuck with a seemingly simple task:
> Let's assume vector layer A holds bunch of boundaries (for example,
> some non-overlapping circles) without categories, while vector layer
> B contains points/centroids which have categories AND attributes
> (Soil type, etc).
> What's the recipe to blend the two layers A and B into a new layer C
> which consists of circles having centroids with soil type attributes
> ?
> This question is caused the fact that v.in.ascii has (for the moment)
> no option to import lines/areas with attributes beyond a category.

If the question concerns two layers in GRASS: v.patch.

If the question concerns import of ascii file with attributes: the 
easiest is probably to import the features with category, import the 
table separately with db.in.ogr and then link the two with db.connect.


More information about the grass-user mailing list