[GRASS-user] Area/poly from lines

Moritz Lennert mlennert at club.worldonline.be
Tue Feb 21 06:00:40 EST 2012


On 21/02/12 11:46, giannis Nj wrote:
> I have a shapefile with lines only. Is it possible to add some area to
> these lines? Like fatening the lines. The lines are the walls of a
> castle but I can't use their exports ("file without geometry" gives as
> an error some 3d programs), so I want to add some width to these lines.
> Maybe adding polygons will help me too?

One possible strategy might be to transform the lines to raster, thicken 
them and the retransform to vector as areas:

v.to.rast
r.grow
r.to.vect feature=area

Moritz


More information about the grass-user mailing list