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