PostGIS  2.1.10dev-r@@SVN_REVISION@@
static void test_coll_point ( void  )
static

Definition at line 40 of file cu_homogenize.c.

References do_geom_test().

Referenced by homogenize_suite_setup().

41 {
42  do_geom_test("GEOMETRYCOLLECTION(POINT(1 2))",
43  "POINT(1 2)");
44 
45  do_geom_test("GEOMETRYCOLLECTION(POINT(1 2),POINT(3 4))",
46  "MULTIPOINT(1 2,3 4)");
47 
48  do_geom_test("GEOMETRYCOLLECTION(POINT(1 2),POINT(3 4),POINT(5 6))",
49  "MULTIPOINT(1 2,3 4,5 6)");
50 
51  do_geom_test("GEOMETRYCOLLECTION(MULTIPOINT(1 2,3 4),POINT(5 6))",
52  "MULTIPOINT(1 2,3 4,5 6)");
53 
54  do_geom_test("GEOMETRYCOLLECTION(POINT(1 2),MULTIPOINT(3 4,5 6))",
55  "MULTIPOINT(1 2,3 4,5 6)");
56 
57  do_geom_test("GEOMETRYCOLLECTION(MULTIPOINT(1 2,3 4),MULTIPOINT(5 6,7 8))",
58  "MULTIPOINT(1 2,3 4,5 6,7 8)");
59 }
static void do_geom_test(char *in, char *out)
Definition: cu_homogenize.c:21

Here is the call graph for this function:

Here is the caller graph for this function: