| PostGIS
    3.4.0dev-r@@SVN_REVISION@@
    | 
| char* lwgeom_to_wkt | ( | const LWGEOM * | geom, | 
| uint8_t | variant, | ||
| int | precision, | ||
| size_t * | size_out | ||
| ) | 
WKT emitter function.
| geom | geometry to convert to WKT | 
| variant | output format to use (WKT_ISO, WKT_SFSQL, WKT_EXTENDED) | 
| precision | Double precision | 
| size_out | (Out parameter) size of the buffer | 
Allocates a new *char and fills it with the WKT representation. If size_out is not NULL, it will be set to the size of the allocated *char.
| variant | Bitmasked value, accepts one of WKT_ISO, WKT_SFSQL, WKT_EXTENDED. | 
| precision | Maximal number of digits after comma in the output doubles. | 
| size_out | If supplied, will return the size of the returned string, including the null terminator. | 
Definition at line 708 of file lwout_wkt.c.
References lwgeom_to_wkt_internal(), precision, str, stringbuffer_destroy(), stringbuffer_getlength(), stringbuffer_getstringcopy(), and variant.
Referenced by _lwt_AddLine(), _lwt_AddPoint(), _lwt_EdgeSplit(), _lwt_FaceByEdges(), _lwt_FindNextRingEdge(), cu_wkt(), cu_wkt_in(), do_encoded_polyline_test(), do_geojson_test(), do_lwgeom_swap_ordinates(), do_test_chaikin(), do_test_filterm(), GenerateLineStringGeometry(), GeneratePointGeometry(), GeneratePolygonGeometry(), lwgeom_to_ewkt(), lwgeom_to_text(), lwgeom_to_wkb_buffer(), lwgeom_to_wkb_varlena(), lwt_ChangeEdgeGeom(), lwt_GetFaceEdges(), rect_tree_to_wkt(), rt_raster_gdal_polygonize(), rt_raster_surface(), test_lwcurve_linearize(), test_lwgeom_locate_along(), test_misc_wkb(), test_unstroke(), and triangle_parse().

