[geos-devel] [GEOS] #1034: Union topology exceptions lead to complete loss of floating point precision

GEOS geos-trac at osgeo.org
Fri Aug 21 14:56:21 PDT 2020


#1034: Union topology exceptions lead to complete loss of floating point precision
-------------------------+---------------------------
 Reporter:  dannytoone   |       Owner:  geos-devel@…
     Type:  defect       |      Status:  new
 Priority:  major        |   Milestone:  3.9.0
Component:  Default      |     Version:  3.8.0
 Severity:  Significant  |  Resolution:
 Keywords:               |
-------------------------+---------------------------

Comment (by mdavis):

 Yes, that is the repo for OverlayNG.

 It would be great if you are able to test this.  I'm happy to help with
 advice on building and running JTS.

 You can use `WKBWriter` to serialize geometry data.  (I assume you are
 creating the data synthetically, since otherwise you would already have an
 image of the data?).

 If you are building from source, you could even add some code at the point
 the exception is thrown to write out just the geometries which cause the
 exception (as opposed to the full union() input dataset).  The location is
 given in the stack trace.

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