1068 CU_ASSERT_STRING_EQUAL(ewkt,
"LINESTRING(0 0,0 0)");
1077 CU_ASSERT_STRING_EQUAL(ewkt,
"POLYGON((0 0,1 0,1 1,0 0))");
1085 CU_ASSERT_EQUAL(l, NULL);
1092 CU_ASSERT_EQUAL(l, NULL);
1100 CU_ASSERT_STRING_EQUAL(ewkt,
"LINESTRING(0 0,50 1.00001,100 0)");
1109 CU_ASSERT_STRING_EQUAL(ewkt,
"LINESTRING(0 0,100 0)");
LWGEOM * lwgeom_simplify(const LWGEOM *igeom, double dist, int preserve_collapsed)
void lwgeom_free(LWGEOM *geom)
#define LW_PARSER_CHECK_NONE
char * lwgeom_to_ewkt(const LWGEOM *lwgeom)
Return an alloced string.
LWGEOM * lwgeom_from_wkt(const char *wkt, const char check)
#define LW_TRUE
Return types for functions with status returns.