]> granicus.if.org Git - postgis/commitdiff
Fix regression due to new error message in GML generation
authorPaul Ramsey <pramsey@cleverelephant.ca>
Tue, 28 Feb 2012 18:29:57 +0000 (18:29 +0000)
committerPaul Ramsey <pramsey@cleverelephant.ca>
Tue, 28 Feb 2012 18:29:57 +0000 (18:29 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@9332 b70326c6-7e19-0410-871a-916f4a2858ee

liblwgeom/cunit/cu_out_gml.c

index f53261d393ecbdb86269271faf68b04414254f4f..00c4ae2ddeef09580642efa8614b643a1ca730ce 100644 (file)
@@ -604,12 +604,12 @@ static void out_gml_test_geoms(void)
        /* GML2 - PolyhedralSurface */
        do_gml2_unsupported(
            "POLYHEDRALSURFACE(((0 1,2 3,4 5,0 1)))",
-           "lwgeom_to_gml2: 'PolyhedralSurface' geometry type not supported");
+           "Cannot convert PolyhedralSurface to GML2. Try ST_AsGML(3, <geometry>) to generate GML3.");
 
        /* GML2 - Tin */
        do_gml2_unsupported(
            "TIN(((0 1,2 3,4 5,0 1)))",
-           "lwgeom_to_gml2: 'Tin' geometry type not supported");
+           "Cannot convert Tin to GML2. Try ST_AsGML(3, <geometry>) to generate GML3.");
 }
 
 static void out_gml_test_geoms_prefix(void)