[GRASS-user] converting lines to polygons

Bryan Keith bryan at ideotrope.org
Tue Sep 21 18:45:14 EDT 2010


Hello,

I'm using these commands:

v.clean input=test_ln output=testclean_ln tool=snap,bpol thresh=0.2,0
v.type input=testclean_ln output=testclean_bnd type=line,boundary
v.centroids input=testclean_bnd output=testclean_py

trying to convert a bunch of lines to 5 polygons.  I've tried lots of
variations of v.clean including many snap thresholds, but I can only get 3
polygons.  Is there something I'm doing wrong?

Check out the line and polygons here:

http://www.ideotrope.org/~bryan/lines.png
http://www.ideotrope.org/~bryan/polygons.png

Bryan



More information about the grass-user mailing list