[Community] Polygonize

Howard Butler hobu.inc at gmail.com
Mon Aug 17 16:17:46 EEST 2009


> On Aug 16, 2009, at 4:29 AM, Vic Kelson wrote:
>

>> When I tried
>> polygonize(), it only works if my line-string end points connect.

One thing to try is to do polygonize and then issue a buffer(0) on the  
results of the polygonize.  buffer(0) is (one of) GEOS' way of  
tripping the segmentation routines, and it might produce a multi* that  
contains your cleaned polygon (plus everything else).

I don't know if this will work, but it's something to try if you  
haven't already.

Howard 



More information about the Community mailing list