Class PolygonUnionUsingBuffer
java.lang.Object
org.locationtech.jtsexample.technique.PolygonUnionUsingBuffer
Deprecated.
It is now recommended to use Geometry.union() (unary union) instead of this technique.
Shows a technique for using a zero-width buffer to compute
the union of a collection of polygonal geometries.
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)
- may not preserve input coordinate precision in some cases
- only works for polygons
- Version:
- 1.7
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
Deprecated.static void
unionUsingBuffer
(Geometry[] geom) Deprecated.
-
Constructor Details
-
PolygonUnionUsingBuffer
public PolygonUnionUsingBuffer()Deprecated.
-
-
Method Details
-
main
Deprecated.- Throws:
Exception
-
unionUsingBuffer
Deprecated.
-