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

Definition at line 400 of file cu_out_gml.c.

References do_gml2_test(), and do_gml3_test().

Referenced by out_gml_suite_setup().

401 {
402  /* GML2 - 3D */
403  do_gml2_test(
404  "POINT(0 1 2)",
405  "<gml:Point><gml:coordinates>0,1,2</gml:coordinates></gml:Point>",
406  NULL, 0);
407 
408  /* GML3 - 3D */
409  do_gml3_test(
410  "POINT(0 1 2)",
411  "<gml:Point><gml:pos srsDimension=\"3\">0 1 2</gml:pos></gml:Point>",
412  NULL, 0, 0);
413 
414 
415  /* GML2 - 3DM */
416  do_gml2_test(
417  "POINTM(0 1 2)",
418  "<gml:Point><gml:coordinates>0,1</gml:coordinates></gml:Point>",
419  NULL, 0);
420 
421  /* GML3 - 3DM */
422  do_gml3_test(
423  "POINTM(0 1 2)",
424  "<gml:Point><gml:pos srsDimension=\"2\">0 1</gml:pos></gml:Point>",
425  NULL, 0, 0);
426 
427 
428  /* GML2 - 4D */
429  do_gml2_test(
430  "POINT(0 1 2 3)",
431  "<gml:Point><gml:coordinates>0,1,2</gml:coordinates></gml:Point>",
432  NULL, 0);
433 
434  /* GML3 - 4D */
435  do_gml3_test(
436  "POINT(0 1 2 3)",
437  "<gml:Point><gml:pos srsDimension=\"3\">0 1 2</gml:pos></gml:Point>",
438  NULL, 0, 0);
439 }
static void do_gml3_test(char *in, char *out, char *srs, int precision, int is_geodetic)
Definition: cu_out_gml.c:73
static void do_gml2_test(char *in, char *out, char *srs, int precision)
Definition: cu_out_gml.c:22

Here is the call graph for this function:

Here is the caller graph for this function: