PostGIS 3.7.0dev-r@@SVN_REVISION@@
Loading...
Searching...
No Matches

◆ test_coll_line()

static void test_coll_line ( void  )
static

Definition at line 61 of file cu_homogenize.c.

62{
63 do_geom_test("GEOMETRYCOLLECTION(LINESTRING(1 2,3 4))",
64 "LINESTRING(1 2,3 4)");
65
66 do_geom_test("GEOMETRYCOLLECTION(LINESTRING(1 2,3 4),LINESTRING(5 6,7 8))",
67 "MULTILINESTRING((1 2,3 4),(5 6,7 8))");
68
69 do_geom_test("GEOMETRYCOLLECTION(LINESTRING(1 2,3 4),LINESTRING(5 6,7 8),LINESTRING(9 10,11 12))",
70 "MULTILINESTRING((1 2,3 4),(5 6,7 8),(9 10,11 12))");
71
72 do_geom_test("GEOMETRYCOLLECTION(MULTILINESTRING((1 2,3 4),(5 6,7 8)),LINESTRING(9 10,11 12))",
73 "MULTILINESTRING((1 2,3 4),(5 6,7 8),(9 10,11 12))");
74
75 do_geom_test("GEOMETRYCOLLECTION(LINESTRING(1 2,3 4),MULTILINESTRING((5 6,7 8),(9 10,11 12)))",
76 "MULTILINESTRING((1 2,3 4),(5 6,7 8),(9 10,11 12))");
77
78 do_geom_test("GEOMETRYCOLLECTION(MULTILINESTRING((1 2,3 4),(5 6,7 8)),MULTILINESTRING((9 10,11 12),(13 14,15 16)))",
79 "MULTILINESTRING((1 2,3 4),(5 6,7 8),(9 10,11 12),(13 14,15 16))");
80}
static void do_geom_test(char *in, char *out)

References do_geom_test().

Referenced by homogenize_suite_setup().

Here is the call graph for this function:
Here is the caller graph for this function: