[postgis-tickets] [PostGIS] #5320: ST_SimplifyPreserveTopology crashes with infinity coordinates

PostGIS trac at osgeo.org
Wed Feb 8 15:05:14 PST 2023


#5320: ST_SimplifyPreserveTopology crashes with infinity coordinates
----------------------+---------------------------
  Reporter:  robe     |      Owner:  robe
      Type:  defect   |     Status:  assigned
  Priority:  blocker  |  Milestone:  PostGIS 3.0.9
 Component:  postgis  |    Version:  master
Resolution:           |   Keywords:
----------------------+---------------------------
Comment (by pramsey):

 The question, as always for these kinds of things, is where to put the
 fix. We could put a big "no infinites" test at the PostGIS level, before
 calling into GEOS. Or we could put a test in Quadtree::Root to throw an
 exception in the case of infinite envelopes, since the Quadtree code is
 definitely not infinite-safe. I lean towards the latter as the "correct"
 fix, but it means this won't be fixed "in postgis", but in a patch release
 of GEOS.
-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/5320#comment:3>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.


More information about the postgis-tickets mailing list