PostGIS  3.3.9dev-r@@SVN_REVISION@@

◆ out_svg_test_srid()

static void out_svg_test_srid ( void  )
static

Definition at line 274 of file cu_out_svg.c.

275 {
276  /* SRID - with Circle point */
277  do_svg_test(
278  "SRID=4326;POINT(0 1)",
279  "cx=\"0\" cy=\"-1\"",
280  0, 0);
281 
282  /* SRID - with Point */
283  do_svg_test(
284  "SRID=4326;POINT(0 1)",
285  "x=\"0\" y=\"-1\"",
286  0, 1);
287 
288  /* SRID - with PointArray */
289  do_svg_test(
290  "SRID=4326;LINESTRING(0 1,2 3)",
291  "M 0 -1 L 2 -3",
292  0, 0);
293 
294  /* SRID - with relative PointArray */
295  do_svg_test(
296  "SRID=4326;LINESTRING(0 1,2 3)",
297  "M 0 -1 l 2 -2",
298  0, 1);
299 }
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: