]> granicus.if.org Git - postgis/commitdiff
#2433, ST_ConcaveHull 2.1 regress failure compared to 2.0
authorPaul Ramsey <pramsey@cleverelephant.ca>
Sat, 19 Oct 2013 04:24:54 +0000 (04:24 +0000)
committerPaul Ramsey <pramsey@cleverelephant.ca>
Sat, 19 Oct 2013 04:24:54 +0000 (04:24 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@12049 b70326c6-7e19-0410-871a-916f4a2858ee

liblwgeom/lwgeom.c
regress/summary_expected

index 4221f1c4713cc9733604ba168f53aed99177ee99..d5f16646b523c2cd3ecfeae500f54c786075e4b4 100644 (file)
@@ -1502,12 +1502,11 @@ void lwgeom_set_srid(LWGEOM *geom, int32_t srid)
 
        if ( lwgeom_is_collection(geom) )
        {
-               /* All the children are set to the unknown SRID value 
-                  TODO: change this so the children have a known SRID? */
+               /* All the children are set to the same SRID value */
                LWCOLLECTION *col = lwgeom_as_lwcollection(geom);
                for ( i = 0; i < col->ngeoms; i++ )
                {
-                       lwgeom_set_srid(col->geoms[i], SRID_UNKNOWN);
+                       lwgeom_set_srid(col->geoms[i], srid);
                }
        }
 }
index 1a2c48529b4d24d70ae115e52e63b9b888d19c44..7c2f7936a21f9e50ae20619b0eea615a122b5c03 100644 (file)
@@ -9,7 +9,7 @@ T1ZMBS|Point[ZMBS]
 T3|MultiPoint[B] with 1 elements
   Point[]
 T4|MultiPoint[BS] with 1 elements
-  Point[]
+  Point[S]
 T5|GeometryCollection[B] with 2 elements
   MultiLineString[] with 2 elements
     LineString[] with 2 points
@@ -17,8 +17,8 @@ T5|GeometryCollection[B] with 2 elements
   MultiPoint[] with 1 elements
     Point[]
 T6|GeometryCollection[BS] with 2 elements
-  MultiLineString[] with 2 elements
-    LineString[] with 2 points
-    LineString[] with 2 points
-  MultiPoint[] with 1 elements
-    Point[]
+  MultiLineString[S] with 2 elements
+    LineString[S] with 2 points
+    LineString[S] with 2 points
+  MultiPoint[S] with 1 elements
+    Point[S]