From: Sandro Santilli Date: Fri, 17 Feb 2012 14:03:28 +0000 (+0000) Subject: Add another test for ST_ChangeEdgeGeom X-Git-Tag: 2.0.0alpha6~39 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d1c6ef463371351de89bbd46f752164e7a789fad;p=postgis Add another test for ST_ChangeEdgeGeom git-svn-id: http://svn.osgeo.org/postgis/trunk@9225 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/topology/test/regress/st_changeedgegeom.sql b/topology/test/regress/st_changeedgegeom.sql index 1dd157ec2..4902def1b 100644 --- a/topology/test/regress/st_changeedgegeom.sql +++ b/topology/test/regress/st_changeedgegeom.sql @@ -70,8 +70,11 @@ SELECT topology.ST_ChangeEdgeGeom('city_data', 26, SELECT 'T8', topology.ST_ChangeEdgeGeom('city_data', 26, 'LINESTRING(4 31, 4 30.4, 5 30.4, 4 31)'); +-- test changing winding of non-closed edge ring +SELECT topology.ST_ChangeEdgeGeom('city_data', 13, + 'LINESTRING(21 6, 21 2, 6 2, 6 25, 50 25, 50 2, 35 2, 35 6)'); + -- TODO: test moving closed edge into another face --- TODO: test changing winding of non-closed edge ring -- TODO: test face mbr update SELECT topology.DropTopology('city_data'); diff --git a/topology/test/regress/st_changeedgegeom_expected b/topology/test/regress/st_changeedgegeom_expected index 3080081a8..cc2e55b1c 100644 --- a/topology/test/regress/st_changeedgegeom_expected +++ b/topology/test/regress/st_changeedgegeom_expected @@ -21,4 +21,5 @@ T7|Edge 2 changed ERROR: Edge motion collision at POINT(25 35) ERROR: Edge twist at node POINT(4 31) T8|Edge 26 changed +ERROR: Edge motion collision at POINT(9 6) Topology 'city_data' dropped