PostGIS
2.5.7dev-r@@SVN_REVISION@@
|
LWGEOM* wkt_parser_linestring_new | ( | POINTARRAY * | pa, |
char * | dimensionality | ||
) |
Create a new linestring.
Null point array implies empty. Null dimensionality implies no specified dimensionality in the WKT. Check for numpoints >= 2 if requested.
Definition at line 354 of file lwin_wkt.c.
References FLAGS_GET_M, FLAGS_GET_Z, global_parser_result, LW_FALSE, LW_PARSER_CHECK_MINPOINTS, LWDEBUG, lwline_as_lwgeom(), lwline_construct(), lwline_construct_empty(), POINTARRAY::npoints, struct_lwgeom_parser_result::parser_check_flags, PARSER_ERROR_MIXDIMS, PARSER_ERROR_MOREPOINTS, ptarray_free(), SET_PARSER_ERROR, SRID_UNKNOWN, wkt_dimensionality(), and wkt_pointarray_dimensionality().