[geos-devel] [GEOS] #752: TopologyException while comparing collections

GEOS geos-trac at osgeo.org
Thu Nov 5 10:45:30 PST 2015


#752: TopologyException while comparing collections
------------------------+---------------------------
 Reporter:  sirsigurd   |       Owner:  geos-devel@…
     Type:  defect      |      Status:  new
 Priority:  major       |   Milestone:  3.5.1
Component:  Default     |     Version:  3.5.0
 Severity:  Unassigned  |  Resolution:
 Keywords:              |
------------------------+---------------------------

Comment (by sirsigurd):

 Replying to [comment:3 strk]:
 > NOTE: the two polygons in the collection are overlapping so I guess it
 could make sense for topology builder to fail.

 If change first polygon to (0 0, 0 5, 5 5, 5 0, 0 0) polygons in the
 collection are still overlapping, but there is no fail.

 It seems there is the quick fix for this problem: to use unary union of
 collection instead of collection itself.

--
Ticket URL: <https://trac.osgeo.org/geos/ticket/752#comment:7>
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