PostGIS  2.5.7dev-r@@SVN_REVISION@@

◆ out_svg_test_srid()

static void out_svg_test_srid ( void  )
static

Definition at line 290 of file cu_out_svg.c.

291 {
292  /* SRID - with Circle point */
293  do_svg_test(
294  "SRID=4326;POINT(0 1)",
295  "cx=\"0\" cy=\"-1\"",
296  0, 0);
297 
298  /* SRID - with Point */
299  do_svg_test(
300  "SRID=4326;POINT(0 1)",
301  "x=\"0\" y=\"-1\"",
302  0, 1);
303 
304  /* SRID - with PointArray */
305  do_svg_test(
306  "SRID=4326;LINESTRING(0 1,2 3)",
307  "M 0 -1 L 2 -3",
308  0, 0);
309 
310  /* SRID - with relative PointArray */
311  do_svg_test(
312  "SRID=4326;LINESTRING(0 1,2 3)",
313  "M 0 -1 l 2 -2",
314  0, 1);
315 }
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: