Class PolygonUnionUsingBuffer



  • public class PolygonUnionUsingBuffer
    extends Object
    Shows a technique for using a zero-width buffer to compute the union of a collection of polygonal geometrys. The advantages of this technique are:
    • can avoid robustness issues
    • faster for large numbers of input geometries
    • handles GeometryCollections as input (although only the polygons will be buffered)
    Disadvantages are:
    • may not preserve input coordinate precision in some cases
    • only works for polygons
    • Constructor Detail

      • PolygonUnionUsingBuffer

        public PolygonUnionUsingBuffer()