[geos-devel] [GEOS] #1031: Union of two Polygons results in GeometryCollection

GEOS geos-trac at osgeo.org
Thu Jun 3 08:41:06 PDT 2021


#1031: Union of two Polygons results in GeometryCollection
------------------------+---------------------------
 Reporter:  brownjt     |       Owner:  geos-devel@…
     Type:  defect      |      Status:  new
 Priority:  minor       |   Milestone:  3.10.0
Component:  Default     |     Version:  3.8.0
 Severity:  Unassigned  |  Resolution:
 Keywords:              |
------------------------+---------------------------

Comment (by pramsey):

 Have a look at OverlayNG.setStrictMode(). If you turn on strict mode, the
 results of overlays will only include components of a single
 dimensionality. Unfortunately (?) the results of the standard methods on
 Geometry have to match up to the old behaviour for legacy reasons, so
 strict mode is turned off by default.

-- 
Ticket URL: <https://trac.osgeo.org/geos/ticket/1031#comment:2>
GEOS <http://trac.osgeo.org/geos>
GEOS (Geometry Engine - Open Source) is a C++ port of the Java Topology Suite (JTS).


More information about the geos-devel mailing list