Definition at line 342 of file cu_gserialized1.c.
354 CU_ASSERT_EQUAL(z, 1);
355 CU_ASSERT_EQUAL(m, 0);
357 str =
"LINESTRINGM ";
362 CU_ASSERT_EQUAL(z, 0);
363 CU_ASSERT_EQUAL(m, 1);
365 str =
"MULTIPOLYGONZM";
370 CU_ASSERT_EQUAL(z, 1);
371 CU_ASSERT_EQUAL(m, 1);
373 str =
" GEOMETRYCOLLECTIONZM ";
378 CU_ASSERT_EQUAL(z, 1);
379 CU_ASSERT_EQUAL(m, 1);
381 str =
" GEOMERYCOLLECTIONZM ";
#define POINTTYPE
LWTYPE numbers, used internally by PostGIS.
int geometry_type_from_string(const char *str, uint8_t *type, int *z, int *m)
Utility function to get type number from string.
References COLLECTIONTYPE, geometry_type_from_string(), LINETYPE, LW_FAILURE, LW_SUCCESS, MULTIPOLYGONTYPE, POINTTYPE, str, and ovdump::type.
Referenced by gserialized1_suite_setup().