From: Sandro Santilli Date: Mon, 16 May 2011 11:01:22 +0000 (+0000) Subject: Fix a bug in the example topology data (related to next_left_edge) -- affected regres... X-Git-Tag: 2.0.0alpha1~1665 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=cbe81a3405d905784dad271b4625d2944dcbc967;p=postgis Fix a bug in the example topology data (related to next_left_edge) -- affected regress testing, also updated [RT-SIGTA] git-svn-id: http://svn.osgeo.org/postgis/trunk@7146 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/topology/test/load_topology.sql.in b/topology/test/load_topology.sql.in index a6e4dbce5..fdbf94f1f 100644 --- a/topology/test/load_topology.sql.in +++ b/topology/test/load_topology.sql.in @@ -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, diff --git a/topology/test/regress/st_modedgeheal_expected b/topology/test/regress/st_modedgeheal_expected index e71719ff6..9304caf9b 100644 --- a/topology/test/regress/st_modedgeheal_expected +++ b/topology/test/regress/st_modedgeheal_expected @@ -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 diff --git a/topology/test/regress/st_newedgeheal_expected b/topology/test/regress/st_newedgeheal_expected index 7e9ccc3d9..7aa1ab8a7 100644 --- a/topology/test/regress/st_newedgeheal_expected +++ b/topology/test/regress/st_newedgeheal_expected @@ -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