PostGIS  3.4.0dev-r@@SVN_REVISION@@

◆ out_svg_test_srid()

static void out_svg_test_srid ( void  )
static

Definition at line 282 of file cu_out_svg.c.

283 {
284  /* SRID - with Circle point */
285  do_svg_test(
286  "SRID=4326;POINT(0 1)",
287  "cx=\"0\" cy=\"-1\"",
288  0, 0);
289 
290  /* SRID - with Point */
291  do_svg_test(
292  "SRID=4326;POINT(0 1)",
293  "x=\"0\" y=\"-1\"",
294  0, 1);
295 
296  /* SRID - with PointArray */
297  do_svg_test(
298  "SRID=4326;LINESTRING(0 1,2 3)",
299  "M 0 -1 L 2 -3",
300  0, 0);
301 
302  /* SRID - with relative PointArray */
303  do_svg_test(
304  "SRID=4326;LINESTRING(0 1,2 3)",
305  "M 0 -1 l 2 -2",
306  0, 1);
307 }
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: