]> granicus.if.org Git - postgis/commitdiff
Fix a bug in the example topology data (related to next_left_edge) -- affected regres...
authorSandro Santilli <strk@keybit.net>
Mon, 16 May 2011 11:01:22 +0000 (11:01 +0000)
committerSandro Santilli <strk@keybit.net>
Mon, 16 May 2011 11:01:22 +0000 (11:01 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@7146 b70326c6-7e19-0410-871a-916f4a2858ee

topology/test/load_topology.sql.in
topology/test/regress/st_modedgeheal_expected
topology/test/regress/st_newedgeheal_expected

index a6e4dbce519f8cb2382dd3c953cd02d8cd628c7a..fdbf94f1f6b1b20437d4a22f0460160860749f51 100644 (file)
@@ -121,7 +121,7 @@ SELECT setval('city_data.node_node_id_seq', 22);
 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,
index e71719ff6444a53c255ec454a2bec249b2dac565..9304caf9bf64974e553a2e1c4281fe59b62898e4 100644 (file)
@@ -14,7 +14,7 @@ ERROR:  Edge 2 is closed, cannot heal to edge 3
 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
@@ -65,7 +65,7 @@ MH(8,15)|19
 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
index 7e9ccc3d9b8bec80543068c5534234b56a22d81f..7aa1ab8a7d9cda64fad324230fc910fa2a1ff54e 100644 (file)
@@ -14,7 +14,7 @@ ERROR:  Edge 2 is closed, cannot heal to edge 3
 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
@@ -65,7 +65,7 @@ MH(8,15)|29
 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