[GRASS-user] Area/poly from lines

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?

Thanks.

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

Maybe create a buffer around the lines?

2012/2/21 Moritz Lennert <mlennert@club.worldonline.be>:

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
_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user