[geos-devel] [GEOS] #531: UnaryUnion of an line collapsed to a point returns EMPTY

GEOS geos-trac at osgeo.org
Fri Sep 20 11:13:47 PDT 2019


#531: UnaryUnion of an line collapsed to a point returns EMPTY
------------------------+---------------------------
 Reporter:  strk        |       Owner:  geos-devel@…
     Type:  defect      |      Status:  closed
 Priority:  major       |   Milestone:  3.8.0
Component:  Default     |     Version:  3.3.3
 Severity:  Unassigned  |  Resolution:  wontfix
 Keywords:              |
------------------------+---------------------------

Comment (by mdavis):

 A further piece of information - the reason the result is EMPTY is that
 the overlay algorithm simply ignores zero-length linestrings, on the basis
 that they are invalid.

 I guess another consistent behaviour would be to error out if zero-length
 lines are detected (in the same way that invalid polygons usually cause an
 error. That's sort of dodging the issue though.

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