[PostGIS] #5699: ERROR: XX000: SQL/MM Spatial exception - geometry crosses an edge

PostGIS trac at osgeo.org
Thu Mar 21 23:39:32 PDT 2024


#5699: ERROR:  XX000: SQL/MM Spatial exception - geometry crosses an edge
--------------------------------+---------------------------
  Reporter:  Lars Aksel Opsahl  |      Owner:  pramsey
      Type:  defect             |     Status:  new
  Priority:  medium             |  Milestone:  PostGIS 3.4.3
 Component:  postgis            |    Version:  3.4.x
Resolution:                     |   Keywords:
--------------------------------+---------------------------
Comment (by Lars Aksel Opsahl):

 Here the problem seems to be that just before adding the last the line
 topology is invalid and that seems to happen silently when adding the
 lines from the attached file as see we in this check.


 {{{
 select ValidateTopology('tmp_dyrkbarjord_04_t3_a_test_issue_70_87');

 }}}

 returns this before adding the last line

 {{{

 LOCATION:  exec_stmt_raise, pl_exec.c:3883
            validatetopology
 ---------------------------------------
  ("edge crosses edge",65,77)
  ("hole not in advertised face",-112,)
  ("hole not in advertised face",-111,)
  ("hole not in advertised face",-91,)
 (4 rows)

 }}}
-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/5699#comment:1>
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