]> granicus.if.org Git - postgis/commitdiff
Fix comment stuff in cunit
authorOlivier Courtin <olivier.courtin@camptocamp.com>
Mon, 22 Feb 2010 18:49:40 +0000 (18:49 +0000)
committerOlivier Courtin <olivier.courtin@camptocamp.com>
Mon, 22 Feb 2010 18:49:40 +0000 (18:49 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@5291 b70326c6-7e19-0410-871a-916f4a2858ee

liblwgeom/cunit/cu_out_geojson.c
liblwgeom/cunit/cu_out_gml.c
liblwgeom/cunit/cu_out_kml.c

index 3cce6fe12d2b0dd48254f202907ccaaabb6e2e0d..590d345891286121447db401d6c4f10cd063ce53 100644 (file)
@@ -109,7 +109,7 @@ void out_geojson_test_precision(void)
            "{\"type\":\"Point\",\"coordinates\":[1.111,1.111]}",
            NULL, 3, 0);
 
-       /* huge digits precision, limit is in fact 15 */
+       /* 9 digits precision */
        do_geojson_test(
            "POINT(1.2345678901234 1.2345678901234)",
            "{\"type\":\"Point\",\"coordinates\":[1.23456789,1.23456789]}",
@@ -320,7 +320,7 @@ void out_geojson_test_geoms(void)
            "MULTICURVE((5 5,3 5,3 3,0 3),CIRCULARSTRING(0 0,2 1,2 2))",
            "lwgeom_to_geojson: 'MultiCurve' geometry type not supported");
 
-       /* GML2 - MultiSurface */
+       /* MultiSurface */
        do_geojson_unsupported(
            "MULTISURFACE(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)),((7 8,10 10,6 14,4 11,7 8)))",
            "lwgeom_to_geojson: 'MultiSurface' geometry type not supported");
index b1f60f6db3bbec1561e246e2c797ad73c4450a52..6b49f26c57d732a97ad55cebfba9f69b64b06962 100644 (file)
@@ -158,13 +158,13 @@ void out_gml_test_precision(void)
            NULL, 3, 0);
 
 
-       /* GML2 - huge digits precision, limit is in fact 15 */
+       /* GML2 - 9 digits precision */
        do_gml2_test(
            "POINT(1.2345678901234 1.2345678901234)",
            "<gml:Point><gml:coordinates>1.23456789,1.23456789</gml:coordinates></gml:Point>",
            NULL, 9);
 
-       /* GML3 - huge digits precision, limit is in fact 15 */
+       /* GML3 - 9 digits precision */
        do_gml3_test(
            "POINT(1.2345678901234 1.2345678901234)",
            "<gml:Point><gml:pos srsDimension=\"2\">1.23456789 1.23456789</gml:pos></gml:Point>",
index 4c0ab306c7c84aebf20ec7647d42623baf7441bb..b6d2b7081824e369c6a55760124bd80ef2bf93ea 100644 (file)
@@ -107,7 +107,7 @@ void out_kml_test_precision(void)
            "<Point><coordinates>1.111,1.111</coordinates></Point>",
            3);
 
-       /* huge digits precision, limit is in fact 15 */
+       /* 9 digits precision */
        do_kml_test(
            "POINT(1.2345678901234 1.2345678901234)",
            "<Point><coordinates>1.23456789,1.23456789</coordinates></Point>",
@@ -206,7 +206,7 @@ void out_kml_test_geoms(void)
            "MULTICURVE((5 5,3 5,3 3,0 3),CIRCULARSTRING(0 0,2 1,2 2))",
            "lwgeom_to_kml2: 'MultiCurve' geometry type not supported");
 
-       /* GML2 - MultiSurface */
+       /* MultiSurface */
        do_kml_unsupported(
            "MULTISURFACE(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)),((7 8,10 10,6 14,4 11,7 8)))",
            "lwgeom_to_kml2: 'MultiSurface' geometry type not supported");