UNION VALUES (2),(3) )
ORDER BY edge_id;
+--
+-- Split a face containing an holes in both sides of the split
+--
+INSERT INTO newedge SELECT 23, topology.st_addedgenewfaces('city_data',
+ 2, 3, 'LINESTRING(25 30, 29 32, 29 37, 25 35)');
+SELECT 'T23', 'E'||edge_id, next_left_edge, next_right_edge,
+ left_face, right_face FROM
+ city_data.edge WHERE edge_id IN (
+ SELECT edge_id FROM newedge WHERE id IN (13, 23, 22, 16)
+ UNION VALUES (2),(3) )
+ ORDER BY edge_id;
+
---------------------------------------------------------------------
-- Check new relations and faces status
T22|E3|48|2|37|37
T22|E42|42|-42|37|32
T22|E48|-3|-48|37|38
+T23|E2|3|39|39|0
+T23|E3|-49|49|39|40
+T23|E39|-2|-39|0|30
+T23|E42|42|-42|39|32
+T23|E48|-3|-48|40|38
+T23|E49|48|2|40|39
F3,F4|{3:10,3:11,3:23,3:24,3:25}
F5,N4|{1:4,3:12,3:13}
F0|
F34|POLYGON((9 0,9 6,21 6,21 0,9 0))
F35|POLYGON((35 0,35 6,47 6,47 0,35 0))
F36|POLYGON((35 -4,35 6,47 6,47 -4,35 -4))
-F37|POLYGON((17 30,17 40,31 40,31 30,17 30))
F38|POLYGON((25 34,25 35,27 35,27 34,25 34))
+F39|POLYGON((17 30,17 40,31 40,31 30,17 30))
+F40|POLYGON((25 30,25 37,29 37,29 30,25 30))
Topology 'city_data' dropped