Definition at line 362 of file cu_libgeom.c.
374 CU_ASSERT_EQUAL(z, 1);
375 CU_ASSERT_EQUAL(m, 0);
377 str =
"LINESTRINGM ";
382 CU_ASSERT_EQUAL(z, 0);
383 CU_ASSERT_EQUAL(m, 1);
385 str =
"MULTIPOLYGONZM";
390 CU_ASSERT_EQUAL(z, 1);
391 CU_ASSERT_EQUAL(m, 1);
393 str =
" GEOMETRYCOLLECTIONZM ";
398 CU_ASSERT_EQUAL(z, 1);
399 CU_ASSERT_EQUAL(m, 1);
401 str =
" GEOMERYCOLLECTIONZM ";
int geometry_type_from_string(const char *str, uint8_t *type, int *z, int *m)
Calculate type integer and dimensional flags from string input.
#define POINTTYPE
LWTYPE numbers, used internally by PostGIS.
References COLLECTIONTYPE, geometry_type_from_string(), LINETYPE, LW_FAILURE, LW_SUCCESS, MULTIPOLYGONTYPE, POINTTYPE, and ovdump::type.
Referenced by libgeom_suite_setup().