How to remove small lines created within the merged polygon using JTS

58 views Asked by At

I am using UnaryOp.union method provided by JTS library to merge a group of geomery objects into a single geometry object. However after merging the polygon, there are small lines visible within the polygon and I am looking for some thoughts on how to remove all those small lines? Here is the screenshot

Group of Polygons:

enter image description here

Merged Polygon with small lines within the polygon:

enter image description here

Code snippet:

UnaryUnionOp.union(jtsGeometries);
0

There are 0 answers