Definition at line 127 of file cu_out_kml.c.
References do_kml_test(), and do_kml_unsupported().
Referenced by out_kml_suite_setup().
131 "LINESTRING(0 1,2 3,4 5)",
132 "<LineString><coordinates>0,1 2,3 4,5</coordinates></LineString>",
137 "POLYGON((0 1,2 3,4 5,0 1))",
138 "<Polygon><outerBoundaryIs><LinearRing><coordinates>0,1 2,3 4,5 0,1</coordinates></LinearRing></outerBoundaryIs></Polygon>",
143 "POLYGON((0 1,2 3,4 5,0 1),(6 7,8 9,10 11,6 7))",
144 "<Polygon><outerBoundaryIs><LinearRing><coordinates>0,1 2,3 4,5 0,1</coordinates></LinearRing></outerBoundaryIs><innerBoundaryIs><LinearRing><coordinates>6,7 8,9 10,11 6,7</coordinates></LinearRing></innerBoundaryIs></Polygon>",
149 "MULTIPOINT(0 1,2 3)",
150 "<MultiGeometry><Point><coordinates>0,1</coordinates></Point><Point><coordinates>2,3</coordinates></Point></MultiGeometry>",
155 "MULTILINESTRING((0 1,2 3,4 5),(6 7,8 9,10 11))",
156 "<MultiGeometry><LineString><coordinates>0,1 2,3 4,5</coordinates></LineString><LineString><coordinates>6,7 8,9 10,11</coordinates></LineString></MultiGeometry>",
161 "MULTIPOLYGON(((0 1,2 3,4 5,0 1)),((6 7,8 9,10 11,6 7)))",
162 "<MultiGeometry><Polygon><outerBoundaryIs><LinearRing><coordinates>0,1 2,3 4,5 0,1</coordinates></LinearRing></outerBoundaryIs></Polygon><Polygon><outerBoundaryIs><LinearRing><coordinates>6,7 8,9 10,11 6,7</coordinates></LinearRing></outerBoundaryIs></Polygon></MultiGeometry>",
167 "GEOMETRYCOLLECTION(POINT(0 1))",
168 "lwgeom_to_kml2: 'GeometryCollection' geometry type not supported");
172 "CIRCULARSTRING(-2 0,0 2,2 0,0 2,2 4)",
173 "lwgeom_to_kml2: 'CircularString' geometry type not supported");
177 "COMPOUNDCURVE(CIRCULARSTRING(0 0,1 1,1 0),(1 0,0 1))",
178 "lwgeom_to_kml2: 'CompoundCurve' geometry type not supported");
182 "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))",
183 "lwgeom_to_kml2: 'CurvePolygon' geometry type not supported");
187 "MULTICURVE((5 5,3 5,3 3,0 3),CIRCULARSTRING(0 0,2 1,2 2))",
188 "lwgeom_to_kml2: 'MultiCurve' geometry type not supported");
192 "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)))",
193 "lwgeom_to_kml2: 'MultiSurface' geometry type not supported");
static void do_kml_unsupported(char *in, char *out)
static void do_kml_test(char *in, char *out, int precision)