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

◆ out_svg_test_relative()

static void out_svg_test_relative ( void  )
static

Definition at line 245 of file cu_out_svg.c.

246{
247 /* Linestring */
249 "LINESTRING(0 1,2 3,4 5)",
250 "M 0 -1 l 2 -2 2 -2",
251 0, 1);
252
253 /* Polygon */
255 "POLYGON((0 1,2 3,4 5,0 1))",
256 "M 0 -1 l 2 -2 2 -2 z",
257 0, 1);
258
259 /* Polygon - with internal ring */
261 "POLYGON((0 1,2 3,4 5,0 1),(6 7,8 9,10 11,6 7))",
262 "M 0 -1 l 2 -2 2 -2 z M 6 -7 l 2 -2 2 -2 z",
263 0, 1);
264
265 /* MultiPoint */
267 "MULTIPOINT(0 1,2 3)",
268 "x=\"0\" y=\"-1\",x=\"2\" y=\"-3\"",
269 0, 1);
270
271 /* MultiLine */
273 "MULTILINESTRING((0 1,2 3,4 5),(6 7,8 9,10 11))",
274 "M 0 -1 l 2 -2 2 -2 M 6 -7 l 2 -2 2 -2",
275 0, 1);
276
277 /* MultiPolygon */
279 "MULTIPOLYGON(((0 1,2 3,4 5,0 1)),((6 7,8 9,10 11,6 7)))",
280 "M 0 -1 l 2 -2 2 -2 z M 6 -7 l 2 -2 2 -2 z",
281 0, 1);
282
283 /* GeometryCollection */
285 "GEOMETRYCOLLECTION(POINT(0 1),LINESTRING(2 3,4 5))",
286 "x=\"0\" y=\"-1\";M 2 -3 l 2 -2",
287 0, 1);
288}
static void do_svg_test(char *in, char *out, int precision, int relative)
Definition cu_out_svg.c:20

References do_svg_test().

Referenced by out_svg_suite_setup().

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