INSERT INTO city_data.edge VALUES(1, 1, 1, 1, -1, 1, 0,
'SRID=@SRID@;LINESTRING(8 30, 16 30, 16 38, 3 38, 3 30, 8 30)');
-- E2
-INSERT INTO city_data.edge VALUES(2, 2, 2, -3, -2, 2, 0,
+INSERT INTO city_data.edge VALUES(2, 2, 2, 3, -2, 2, 0,
'SRID=@SRID@;LINESTRING(25 30, 31 30, 31 40, 17 40, 17 30, 25 30)');
-- E3
INSERT INTO city_data.edge VALUES(3, 2, 3, -3, 2, 2, 2,
ERROR: Edge 2 is closed, cannot heal to edge 3
ERROR: Cannot heal edge 25 with itself, try with another
E1|POINT(8 30)|POINT(8 30)|1|-1|1|1
-E2|POINT(25 30)|POINT(25 30)|-3|-2|2|2
+E2|POINT(25 30)|POINT(25 30)|3|-2|2|2
E3|POINT(25 30)|POINT(25 35)|-3|2|2|3
E4|POINT(36 38)|POINT(57 33)|-5|4|5|6
E5|POINT(41 40)|POINT(57 33)|-4|5|7|6
MH(12,22)|8
MH(16,14)|11
E1|POINT(8 30)|POINT(8 30)|1|-1|1|1
-E2|POINT(25 30)|POINT(25 30)|-3|-2|2|2
+E2|POINT(25 30)|POINT(25 30)|3|-2|2|2
E3|POINT(25 30)|POINT(25 35)|-3|2|2|3
E4|POINT(36 38)|POINT(41 40)|-4|4|5|7
E7|POINT(21 22)|POINT(35 22)|8|-19|17|18
ERROR: Edge 2 is closed, cannot heal to edge 3
ERROR: Cannot heal edge 25 with itself, try with another
E1|POINT(8 30)|POINT(8 30)|1|-1|1|1
-E2|POINT(25 30)|POINT(25 30)|-3|-2|2|2
+E2|POINT(25 30)|POINT(25 30)|3|-2|2|2
E3|POINT(25 30)|POINT(25 35)|-3|2|2|3
E4|POINT(36 38)|POINT(57 33)|-5|4|5|6
E5|POINT(41 40)|POINT(57 33)|-4|5|7|6
MH(12,22)|30
MH(16,14)|31
E1|POINT(8 30)|POINT(8 30)|1|-1|1|1
-E2|POINT(25 30)|POINT(25 30)|-3|-2|2|2
+E2|POINT(25 30)|POINT(25 30)|3|-2|2|2
E3|POINT(25 30)|POINT(25 35)|-3|2|2|3
E7|POINT(21 22)|POINT(35 22)|29|-19|17|18
E9|POINT(9 14)|POINT(21 14)|19|30|15|14