PostGIS 3.0.6dev-r@@SVN_REVISION@@
Loading...
Searching...
No Matches

◆ asgeojson_multiline()

static char * asgeojson_multiline ( const LWMLINE mline,
char *  srs,
GBOX bbox,
int  precision 
)
static

Definition at line 495 of file lwout_geojson.c.

496{
497 char *output;
498 int size;
499
500 size = asgeojson_multiline_size(mline, srs, bbox, precision);
501 output = lwalloc(size);
502 asgeojson_multiline_buf(mline, srs, output, bbox, precision);
503
504 return output;
505}
static uint8_t precision
Definition cu_in_twkb.c:25
void * lwalloc(size_t size)
Definition lwutil.c:227
static size_t asgeojson_multiline_buf(const LWMLINE *mline, char *srs, char *output, GBOX *bbox, int precision)
static size_t asgeojson_multiline_size(const LWMLINE *mline, char *srs, GBOX *bbox, int precision)
Multiline Geometry.

References asgeojson_multiline_buf(), asgeojson_multiline_size(), lwalloc(), and precision.

Referenced by lwgeom_to_geojson().

Here is the call graph for this function:
Here is the caller graph for this function: