Add SRID retainment testcase for removerepeatedpoint (paranoia)
authorSandro Santilli <strk@keybit.net>
Thu, 11 Mar 2010 17:53:20 +0000 (17:53 +0000)
committerSandro Santilli <strk@keybit.net>
Thu, 11 Mar 2010 17:53:20 +0000 (17:53 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@5411 b70326c6-7e19-0410-871a-916f4a2858ee

regress/remove_repeated_points.sql
regress/remove_repeated_points_expected

index bc89372770ad53a068f44ff8283672ac27d8037d..e3060b5b5a0d50b46122f9fc4de2c4b5d0b53366 100644 (file)
@@ -19,3 +19,4 @@ SELECT 9, ST_AsText(ST_RemoveRepeatedPoints('CURVEPOLYGON(CIRCULARSTRING(
                 1 0 3 6,                                                                        0 1 3 4,                                                                        -1 0 1 2))'));        
 SELECT 10, ST_AsText(ST_RemoveRepeatedPoints('LINESTRING(0 0, 0 0)'));
 SELECT 11, ST_AsText(ST_RemoveRepeatedPoints('LINESTRING(0 0, 0 0, 0 0, 0 0, 0 0)'));
+SELECT 12, ST_SRID(ST_RemoveRepeatedPoints('SRID=3;LINESTRING(0 0, 0 0, 0 0, 0 0, 0 0)'));
index 35f7597ea71b68346f41f10d66bc5aef4c83669f..74c0de4f7a6cc3d3d26eea8bd01091281bb1381b 100644 (file)
@@ -10,3 +10,4 @@
 9|CURVEPOLYGON(CIRCULARSTRING(-2 0,-1 -1,0 0,1 -1,2 0,0 2,-2 0),(-1 0,0 0.5,1 0,0 1,-1 0))
 10|LINESTRING(0 0,0 0)
 11|LINESTRING(0 0,0 0)
+12|3