[geos-devel] [GEOS] #1135: setPrecision crashes when collapsing linearring

GEOS geos-trac at osgeo.org
Fri Oct 22 04:18:32 PDT 2021


#1135: setPrecision crashes when collapsing linearring
-------------------------+--------------------------
 Reporter:  caspervdw    |      Owner:  geos-devel@…
     Type:  defect       |     Status:  new
 Priority:  major        |  Milestone:  3.10.1
Component:  Default      |    Version:  main
 Severity:  Significant  |   Keywords:
-------------------------+--------------------------
 The following command (through pygeos) results in a segmentation fault:

 >>> pygeos.set_precision(pygeos.Geometry("LINEARRING (0 0, 0.1 0, 0.1 0.1,
 0 0.1, 0 0)"), 1.0, flags="make_valid")

 It is just the linearrings, linestrings and polygons with the same
 coordinates give correct results (empty geometries).

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