Definition at line 356 of file cu_in_wkt.c.
362 wkt =
"LINESTRING(1.1.1, 2.2.2)";
367 CU_ASSERT( ! p.
geom );
370 wkt =
"LINESTRING(1.1 .1, 2.2 .2)";
376 wkt =
"LINESTRING( 1.1 .1 , 2.2 .2 )";
382 wkt =
"LINESTRING(\n1.1\n.1,\n2.2\n.2\n)";
388 wkt =
"LINESTRING(1.1\t.1\t,\t2.2\t.2\t)";
#define LW_PARSER_CHECK_ALL
void lwgeom_parser_result_init(LWGEOM_PARSER_RESULT *parser_result)
int lwgeom_parse_wkt(LWGEOM_PARSER_RESULT *parser_result, char *wktstr, int parse_flags)
Parse a WKT geometry string into an LWGEOM structure.
void lwgeom_parser_result_free(LWGEOM_PARSER_RESULT *parser_result)
Parser result structure: returns the result of attempting to convert (E)WKT/(E)WKB to LWGEOM.
References struct_lwgeom_parser_result::errcode, struct_lwgeom_parser_result::geom, LW_FAILURE, LW_PARSER_CHECK_ALL, LW_SUCCESS, lwgeom_parse_wkt(), lwgeom_parser_result_free(), and lwgeom_parser_result_init().
Referenced by wkt_in_suite_setup().