Skip to content
Andrew Fink edited this page Aug 27, 2019 · 1 revision

JTS Geometry Operations

Union

If you are performing a union on a list of geometries and can fit them all into memory, use UnaryUnionOp.union(geoms: Collection[Geometry]) instead of geoms.reduce(_ union _). The unary operation has significant performance benefits.