In JTS, when I do geometry.buffer(1).buffer(-1), will the resulting geometry be equivalent to the or

Posted by Pablo Cabrera on Stack Overflow See other posts from Stack Overflow or by Pablo Cabrera
Published on 2010-03-18T13:33:25Z Indexed on 2010/03/18 14:11 UTC
Read the original article Hit count: 671

Filed under:
|
|
|

I was having problems while intersecting two geometries, getting a TopologyException probably due to a rounding error during the operation, then I read this fix and tried a buffer(0) on both input geometries, but still without success. Then I tried geo.buffer(1).buffer(-1) and it worked.

Will these geometries be equivalent to the original ones?

© Stack Overflow or respective owner

Related posts about java

Related posts about jts