Skip to content

Commit

Permalink
Explain change in comment
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickackermann committed May 29, 2024
1 parent 218fda9 commit 96ab20e
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,9 @@ private IomObject union(UnionSurfaceKey key) {
.toArray(MultiPolygon[]::new);

Geometry geometryCollection = new GeometryFactory().createGeometryCollection(polygons);

// Calculating unionGeometry with Geometry.union() in JTS 1.14.0 may cause unexpected Exception
// See: https://github.com/GeoWerkstatt/geow-interlis-functions/issues/49
Geometry unionGeometry = geometryCollection.buffer(0);

try {
Expand Down

0 comments on commit 96ab20e

Please sign in to comment.