Definition at line 354 of file cu_in_wkt.c.
360 wkt =
"LINESTRING(1.1.1, 2.2.2)";
366 wkt =
"LINESTRING(1.1 .1, 2.2 .2)";
372 wkt =
"LINESTRING( 1.1 .1 , 2.2 .2 )";
378 wkt =
"LINESTRING(\n1.1\n.1,\n2.2\n.2\n)";
384 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 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().