]> granicus.if.org Git - postgis/commitdiff
Update regression to handle new collection(empty) possibilities
authorPaul Ramsey <pramsey@cleverelephant.ca>
Thu, 22 Mar 2012 17:24:57 +0000 (17:24 +0000)
committerPaul Ramsey <pramsey@cleverelephant.ca>
Thu, 22 Mar 2012 17:24:57 +0000 (17:24 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@9531 b70326c6-7e19-0410-871a-916f4a2858ee

regress/wkt_expected

index 58713dc0eba2dd7f2dae0c725180186c115429dd..619f4aeefad0707a702e6cc6d97349fee9b2015d 100644 (file)
@@ -7,10 +7,10 @@ POINT ZM (0 0 0 0)|POINT ZM (0 0 0 0)|t
 ERROR:  can not mix dimensionality in a geometry
 ERROR:  parse error - invalid geometry
 MULTIPOINT EMPTY|MULTIPOINT EMPTY|t
-ERROR:  parse error - invalid geometry
+MULTIPOINT(EMPTY)|MULTIPOINT(EMPTY)|t
 MULTIPOINT(0 0, 2 0)|MULTIPOINT(0 0,2 0)|t
 MULTIPOINT((0 0), (2 0))|MULTIPOINT(0 0,2 0)|t
-ERROR:  parse error - invalid geometry
+MULTIPOINT((0 0), (2 0), EMPTY)|MULTIPOINT(0 0,2 0,EMPTY)|t
 MULTIPOINT Z ((0 0 0), (2 0 0))|MULTIPOINT Z (0 0 0,2 0 0)|t
 MULTIPOINT M ((0 0 0), (2 0 0))|MULTIPOINT M (0 0 0,2 0 0)|t
 MULTIPOINT ZM ((0 0 0 0), (2 0 0 0))|MULTIPOINT ZM (0 0 0 0,2 0 0 0)|t
@@ -23,11 +23,11 @@ LINESTRING Z (0 0 0, 1 1 0)|LINESTRING Z (0 0 0,1 1 0)|t
 LINESTRING M (0 0 0, 1 1 0)|LINESTRING M (0 0 0,1 1 0)|t
 LINESTRING ZM (0 0 0 0, 1 1 0 0)|LINESTRING ZM (0 0 0 0,1 1 0 0)|t
 MULTILINESTRING EMPTY|MULTILINESTRING EMPTY|t
-ERROR:  parse error - invalid geometry
+MULTILINESTRING(EMPTY)|MULTILINESTRING(EMPTY)|t
 ERROR:  parse error - invalid geometry
 MULTILINESTRING((0 0, 2 0))|MULTILINESTRING((0 0,2 0))|t
 MULTILINESTRING((0 0, 2 0), (1 1, 2 2))|MULTILINESTRING((0 0,2 0),(1 1,2 2))|t
-ERROR:  parse error - invalid geometry
+MULTILINESTRING((0 0, 2 0), (1 1, 2 2), EMPTY)|MULTILINESTRING((0 0,2 0),(1 1,2 2),EMPTY)|t
 ERROR:  parse error - invalid geometry
 MULTILINESTRING Z ((0 0 0, 2 0 0), (1 1 0, 2 2 0))|MULTILINESTRING Z ((0 0 0,2 0 0),(1 1 0,2 2 0))|t
 MULTILINESTRING M ((0 0 0, 2 0 0), (1 1 0, 2 2 0))|MULTILINESTRING M ((0 0 0,2 0 0),(1 1 0,2 2 0))|t
@@ -40,7 +40,7 @@ POLYGON Z ((0 0 0,10 0 0,10 10 0,0 10 0,0 0 0),(2 2 0,2 5 0,5 5 0,5 2 0,2 2 0))|
 POLYGON M ((0 0 0,10 0 0,10 10 0,0 10 0,0 0 0),(2 2 0,2 5 0,5 5 0,5 2 0,2 2 0))|POLYGON M ((0 0 0,10 0 0,10 10 0,0 10 0,0 0 0),(2 2 0,2 5 0,5 5 0,5 2 0,2 2 0))|t
 POLYGON ZM ((0 0 0 2,10 0 0 2,10 10 0 2,0 10 0 2,0 0 0 2),(2 2 0 2,2 5 0 2,5 5 0 2,5 2 0 2,2 2 0 2))|POLYGON ZM ((0 0 0 2,10 0 0 2,10 10 0 2,0 10 0 2,0 0 0 2),(2 2 0 2,2 5 0 2,5 5 0 2,5 2 0 2,2 2 0 2))|t
 MULTIPOLYGON EMPTY|MULTIPOLYGON EMPTY|t
-ERROR:  parse error - invalid geometry
+MULTIPOLYGON(EMPTY)|MULTIPOLYGON(EMPTY)|t
 ERROR:  parse error - invalid geometry
 MULTIPOLYGON(((0 0,10 0,10 10,0 10,0 0),(2 2,2 5,5 5,5 2,2 2)))|MULTIPOLYGON(((0 0,10 0,10 10,0 10,0 0),(2 2,2 5,5 5,5 2,2 2)))|t
 MULTIPOLYGON Z (((0 0 2,10 0 2,10 10 2,0 10 2,0 0 2),(2 2 2,2 5 2,5 5 2,5 2 2,2 2 2)))|MULTIPOLYGON Z (((0 0 2,10 0 2,10 10 2,0 10 2,0 0 2),(2 2 2,2 5 2,5 5 2,5 2 2,2 2 2)))|t