20{
22 const char *wkt;
23 char *tmp;
24
25
27
28 wkt = "LINESTRING(0 0, 5 5, 10 0)";
32
35
36 wkt = "LINESTRING EMPTY";
40
43
44 wkt = "MULTIPOINT EMPTY";
48
51
52 wkt = "MULTIPOINT(0 0, 6 6, 7 5)";
56
59
60
61 wkt = "POLYGON((311017 4773762,311016 4773749,311006 4773744,310990 4773748,310980 4773758,310985 4773771,311003 4773776,311017 4773762))";
64
67
68
69 wkt = "POLYGON((1410 2055, 1410 2056, 1410 2057, 1410 2055))";
72 CU_ASSERT_PTR_NULL(out);
74}
void cu_error_msg_reset()
#define ASSERT_STRING_EQUAL(o, e)
void lwgeom_free(LWGEOM *geom)
#define LW_PARSER_CHECK_NONE
LWGEOM * lwgeom_clip_by_rect(const LWGEOM *geom1, double x0, double y0, double x1, double y1)
char * lwgeom_to_ewkt(const LWGEOM *lwgeom)
Return an allocated string.
LWGEOM * lwgeom_from_wkt(const char *wkt, const char check)
static int lwgeom_is_empty(const LWGEOM *geom)
Return true or false depending on whether a geometry is an "empty" geometry (no vertices members)