21 #if POSTGIS_GEOS_VERSION >= 35 29 wkt =
"LINESTRING(0 0, 5 5, 10 0)";
34 CU_ASSERT_STRING_EQUAL(
"LINESTRING(5 5,10 0)", tmp)
37 wkt =
"LINESTRING EMPTY";
42 CU_ASSERT_STRING_EQUAL(wkt, tmp)
45 wkt =
"MULTIPOINT EMPTY";
50 CU_ASSERT_STRING_EQUAL(wkt, tmp)
53 wkt =
"MULTIPOINT(0 0, 6 6, 7 5)";
58 CU_ASSERT_STRING_EQUAL(
"MULTIPOINT(6 6,7 5)", tmp)
62 wkt =
"POLYGON((311017 4773762,311016 4773749,311006 4773744,310990 4773748,310980 4773758,310985 4773771,311003 4773776,311017 4773762))";
char * lwgeom_to_ewkt(const LWGEOM *lwgeom)
Return an alloced string.
void lwgeom_free(LWGEOM *geom)
LWGEOM * lwgeom_clip_by_rect(const LWGEOM *geom1, double x0, double y0, double x1, double y1)
LWGEOM * lwgeom_from_wkt(const char *wkt, const char check)
#define LW_PARSER_CHECK_NONE
void cu_error_msg_reset()
int lwgeom_is_empty(const LWGEOM *geom)
Return true or false depending on whether a geometry is an "empty" geometry (no vertices members) ...