[geos-devel] [GEOS] #1133: GEOSDistance raises floating point exceptions for boundable geometries
GEOS
geos-trac at osgeo.org
Fri Nov 26 05:38:23 PST 2021
#1133: GEOSDistance raises floating point exceptions for boundable geometries
--------------------------+---------------------------
Reporter: Brendan Ward | Owner: geos-devel@…
Type: defect | Status: new
Priority: major | Milestone: 3.11.0
Component: Default | Version: main
Severity: Unassigned | Resolution:
Keywords: |
--------------------------+---------------------------
Comment (by caspervdw):
This specific issue has been solved in
https://github.com/libgeos/geos/pull/485
However there are some situations remaining where a FP “invalid” flag is
set:
- binary predicates on empty geometries
- voronoi_polygons on a point
- hausdorff_distance sets an invalid flag (in our seemingly normal test)
- offset_curve on an empty linestring
All through the CAPI. See pygeos https://github.com/pygeos/pygeos/pull/441
for the specific tests where I encountered the FP “invalid” flags.
--
Ticket URL: <https://trac.osgeo.org/geos/ticket/1133#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