[GRASS-user] converting lines to polygons

Bryan Keith bryan at ideotrope.org
Wed Sep 22 08:40:43 EDT 2010


> On 09/22/2010 12:45 AM, Bryan Keith wrote:
>> 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?
>>
> If it's only two missing, then just manually add centroids to those two
> areas that are not yet polygons. (using v.digit)

Well, it's two in this simple little example clipped from a larger file,
and I have lots of files to process so I'm looking for an automated
process.

Bryan

>> Check out the line and polygons here:
>>
>> http://www.ideotrope.org/~bryan/lines.png
>> http://www.ideotrope.org/~bryan/polygons.png
>>
>> Bryan
>>
>> _______________________________________________
>> 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.
>>
>>
>>
>
>
> --
> Micha Silver
> Arava Development Co. +972-52-3665918
> http://surfaces.co.il
>
>
>




More information about the grass-user mailing list