PostGIS  3.4.0dev-r@@SVN_REVISION@@

◆ out_gml_test_dims()

static void out_gml_test_dims ( void  )
static

Definition at line 329 of file cu_out_gml.c.

330 {
331  /* GML2 - 3D */
332  do_gml2_test(
333  "POINT(0 1 2)",
334  "<gml:Point><gml:coordinates>0,1,2</gml:coordinates></gml:Point>",
335  NULL, 0);
336 
337  /* GML3 - 3D */
338  do_gml3_test(
339  "POINT(0 1 2)",
340  "<gml:Point><gml:pos srsDimension=\"3\">0 1 2</gml:pos></gml:Point>",
341  NULL, 0, 0);
342 
343 
344  /* GML2 - 3DM */
345  do_gml2_test(
346  "POINTM(0 1 2)",
347  "<gml:Point><gml:coordinates>0,1</gml:coordinates></gml:Point>",
348  NULL, 0);
349 
350  /* GML3 - 3DM */
351  do_gml3_test(
352  "POINTM(0 1 2)",
353  "<gml:Point><gml:pos srsDimension=\"2\">0 1</gml:pos></gml:Point>",
354  NULL, 0, 0);
355 
356 
357  /* GML2 - 4D */
358  do_gml2_test(
359  "POINT(0 1 2 3)",
360  "<gml:Point><gml:coordinates>0,1,2</gml:coordinates></gml:Point>",
361  NULL, 0);
362 
363  /* GML3 - 4D */
364  do_gml3_test(
365  "POINT(0 1 2 3)",
366  "<gml:Point><gml:pos srsDimension=\"3\">0 1 2</gml:pos></gml:Point>",
367  NULL, 0, 0);
368 }
static void do_gml3_test(char *in, char *out, char *srs, int precision, int is_geodetic)
Definition: cu_out_gml.c:54
static void do_gml2_test(char *in, char *out, char *srs, int precision)
Definition: cu_out_gml.c:21

References do_gml2_test(), and do_gml3_test().

Referenced by out_gml_suite_setup().

Here is the call graph for this function:
Here is the caller graph for this function: