[PostGIS] #5631: CG_YMonotonePartition crash

PostGIS trac at osgeo.org
Tue Sep 3 16:24:32 PDT 2024


#5631: CG_YMonotonePartition crash
----------------------+----------------------------
  Reporter:  robe     |      Owner:  lbartoletti
      Type:  defect   |     Status:  new
  Priority:  blocker  |  Milestone:  PostGIS SFCGAL
 Component:  sfcgal   |    Version:  master
Resolution:           |   Keywords:
----------------------+----------------------------
Changes (by robe):

 * milestone:  PostGIS 3.5.0 => PostGIS SFCGAL

Comment:

 Replying to [comment:2 lbartoletti]:
 > Here, the error lies in the orientation of the polygon. The geometry
 needs to be simple and in the counter-clockwise direction.
 >
 > I'm still wondering how to handle the "simple" cases where an
 ST_ForcePolygonCCW can resolve this issue. There are cases, like
 visibility (refer to my comment), that should return an error, but for
 this kind of scenario, should we also return an error or try to send a
 geometry that is most acceptable for (SF)CGAL?"


 Hard call.  I think I would lean on returning something most acceptable
 cause errors in processing are hard to catch.  But really depends what we
 mean by "most acceptable"
-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/5631#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