[PostGIS] #6120: XX000: SQL/MM Spatial exception - curve not simple

PostGIS trac at osgeo.org
Wed Sep 2 03:24:54 PDT 2026


#6120: XX000: SQL/MM Spatial exception - curve not simple
--------------------------------+---------------------------
  Reporter:  Lars Aksel Opsahl  |      Owner:  strk
      Type:  defect             |     Status:  new
  Priority:  medium             |  Milestone:  PostGIS 3.6.5
 Component:  topology           |    Version:  3.6.x
Resolution:                     |   Keywords:
--------------------------------+---------------------------
Comment (by strk):

 Newer PostGIS version ( 3.7.0dev 3.6.0rc2-398-gcf949fa33 ) throws a
 different exception, which also contains location info:

 > ERROR:  Spatial exception - geometry intersects edge 673 at
 POINT(20.8678219077647 69.3134366022891)

 The following screenshot from QGIS shows the situation. The reported
 intersection point is at the leftmost edge of the almost-coincident lines
 (black is the edge, green is the incoming, stars are start/end vertices of
 the two, there's no way to visually spot the vertex which is ONLY in the
 edge but not in the incoming).

 [[Image(case.png)]]
-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/6120#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