[postgis-tickets] [PostGIS] #5293: toTopoGeom: corrupted topology: face xxx could not be constructed only from edges knowing about it (like edge yyy).

PostGIS trac at osgeo.org
Thu Jun 1 06:42:48 PDT 2023


#5293: toTopoGeom: corrupted topology: face xxx could not be constructed only from
edges knowing about it (like edge yyy).
-----------------------+---------------------------
  Reporter:  strk      |      Owner:  strk
      Type:  defect    |     Status:  new
  Priority:  medium    |  Milestone:  PostGIS 3.4.0
 Component:  topology  |    Version:  master
Resolution:            |   Keywords:
-----------------------+---------------------------
Comment (by strk):

 For the record: in the situation described above, removing one of the two
 edges contending that node allowed to succeed in inserting the incoming
 line:
 {{{
 select topology.ST_RemEdgeModFace('postgis_ticket_5293_topo', 65);
 }}}

 I should note that after adding the incoming line we're still left with
 many tiny tiny faces:
 {{{
 =# select face_id,
 st_area(topology.st_getfacegeometry('postgis_ticket_5293_topo', face_id))
 from postgis_ticket_5293_topo.face where face_id > 0;
  face_id |        st_area
 ---------+------------------------
       35 |  3.225338615683592e-15
       36 | 3.0876028734852634e-16
       37 |  1.325799232980171e-14
       38 |  1.692312908156489e-14
       39 | 1.2586570072969456e-16
       40 |  5.816003342750131e-15
       41 |  9.482633197950748e-16
       42 |  5.071487202375476e-15
       43 | 1.9242697442172733e-15
       44 | 2.7261901069676923e-15
       46 |  2.687186386597784e-15
       47 | 1.2678269542001519e-14
       48 | 4.2527341168471194e-16
       45 | 1.4590039951102688e-06
 (14 rows)
 }}}

 I'm guessing only face 45 is a face really needed, given it's size.
-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/5293#comment:9>
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