PostGIS 3.7.0dev-r@@SVN_REVISION@@
Loading...
Searching...
No Matches

◆ test_lwpoint_to_latlon_optional_format()

static void test_lwpoint_to_latlon_optional_format ( void  )
static

Definition at line 205 of file cu_print.c.

206{
207 test_lwpoint_to_latlon_assert_format("POINT(21.9999999 1)",
208 "D-M-S-C", "1-0-0-N 22-0-0-E");
209 test_lwpoint_to_latlon_assert_format("POINT(21.99999999999 1)",
210 "D-M-S-C", "1-0-0-N 22-0-0-E");
211
212 test_lwpoint_to_latlon_assert_format("POINT(-45.4545 -12.34567)", "DD.DDD", "-12.346 -45.455");
213 test_lwpoint_to_latlon_assert_format("POINT(-45.4545 -12.34567)", "DD.DDD C", "12.346 S 45.455 W");
215 "POINT(-45.4545 -12.34567)", "DD.DDD MM.MMM", "-12.000 20.740 -45.000 27.270");
217 "POINT(-45.4545 -12.34567)", "DD.DDD MM.MMM C", "12.000 20.740 S 45.000 27.270 W");
219 "POINT(-45.4545 -12.34567)", "DD.DDD MM.MMM SS.SSS", "-12.000 20.000 44.412 -45.000 27.000 16.200");
221 "POINT(-45.4545 -12.34567)", "DD.DDD MM.MMM SS.SSS C", "12.000 20.000 44.412 S 45.000 27.000 16.200 W");
222}
static void test_lwpoint_to_latlon_assert_format(char *point_wkt, const char *format, const char *expected)
Definition cu_print.c:21

References test_lwpoint_to_latlon_assert_format().

Referenced by print_suite_setup().

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