Re: [geos-devel] RE: [GEOS] #468: Geometry breaks valid() and buffer(): Assertion failed: (0), function query, file AbstractSTRtree.cpp, line 286

2011-08-18 Thread Martin Davis
I have tested this in JTS 1.12, and can confirm that both isValid and buffer work correctly. The buffer operation does take quite a while and requires a significant amount of memory. So the geometry is fine. There may be some issues with GEOS. On 8/18/2011 3:44 PM, Christopher DeMars wrote:

Re: [geos-devel] RE: [GEOS] #468: Geometry breaks valid() and buffer(): Assertion failed: (0), function query, file AbstractSTRtree.cpp, line 286

2011-08-18 Thread Martin Davis
Incidentally, this is one of those cases where buffering by unioning the buffers of the components far outperforms the straight buffer (for distance = 100, 10 s vs 70 s). This is something you might be able to try, if your data model permits it. Split the geometry into its components, and