PostGIS  2.1.10dev-r@@SVN_REVISION@@
static void out_svg_test_srid ( void  )
static

Definition at line 291 of file cu_out_svg.c.

References do_svg_test().

Referenced by out_svg_suite_setup().

292 {
293  /* SRID - with Circle point */
294  do_svg_test(
295  "SRID=4326;POINT(0 1)",
296  "cx=\"0\" cy=\"-1\"",
297  0, 0);
298 
299  /* SRID - with Point */
300  do_svg_test(
301  "SRID=4326;POINT(0 1)",
302  "x=\"0\" y=\"-1\"",
303  0, 1);
304 
305  /* SRID - with PointArray */
306  do_svg_test(
307  "SRID=4326;LINESTRING(0 1,2 3)",
308  "M 0 -1 L 2 -3",
309  0, 0);
310 
311  /* SRID - with relative PointArray */
312  do_svg_test(
313  "SRID=4326;LINESTRING(0 1,2 3)",
314  "M 0 -1 l 2 -2",
315  0, 1);
316 }
static void do_svg_test(char *in, char *out, int precision, int relative)
Definition: cu_out_svg.c:21

Here is the call graph for this function:

Here is the caller graph for this function: