PostGIS  2.4.9dev-r@@SVN_REVISION@@

◆ out_gml_test_dims()

static void out_gml_test_dims ( void  )
static

Definition at line 379 of file cu_out_gml.c.

References do_gml2_test(), and do_gml3_test().

Referenced by out_gml_suite_setup().

380 {
381  /* GML2 - 3D */
382  do_gml2_test(
383  "POINT(0 1 2)",
384  "<gml:Point><gml:coordinates>0,1,2</gml:coordinates></gml:Point>",
385  NULL, 0);
386 
387  /* GML3 - 3D */
388  do_gml3_test(
389  "POINT(0 1 2)",
390  "<gml:Point><gml:pos srsDimension=\"3\">0 1 2</gml:pos></gml:Point>",
391  NULL, 0, 0);
392 
393 
394  /* GML2 - 3DM */
395  do_gml2_test(
396  "POINTM(0 1 2)",
397  "<gml:Point><gml:coordinates>0,1</gml:coordinates></gml:Point>",
398  NULL, 0);
399 
400  /* GML3 - 3DM */
401  do_gml3_test(
402  "POINTM(0 1 2)",
403  "<gml:Point><gml:pos srsDimension=\"2\">0 1</gml:pos></gml:Point>",
404  NULL, 0, 0);
405 
406 
407  /* GML2 - 4D */
408  do_gml2_test(
409  "POINT(0 1 2 3)",
410  "<gml:Point><gml:coordinates>0,1,2</gml:coordinates></gml:Point>",
411  NULL, 0);
412 
413  /* GML3 - 4D */
414  do_gml3_test(
415  "POINT(0 1 2 3)",
416  "<gml:Point><gml:pos srsDimension=\"3\">0 1 2</gml:pos></gml:Point>",
417  NULL, 0, 0);
418 }
static void do_gml3_test(char *in, char *out, char *srs, int precision, int is_geodetic)
Definition: cu_out_gml.c:72
static void do_gml2_test(char *in, char *out, char *srs, int precision)
Definition: cu_out_gml.c:21
Here is the call graph for this function:
Here is the caller graph for this function: