PostGIS  2.2.7dev-r@@SVN_REVISION@@
static char * asgeojson_multiline ( const LWMLINE mline,
char *  srs,
GBOX bbox,
int  precision 
)
static

Definition at line 428 of file lwout_geojson.c.

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

Referenced by lwgeom_to_geojson().

429 {
430  char *output;
431  int size;
432 
433  size = asgeojson_multiline_size(mline, srs, bbox, precision);
434  output = lwalloc(size);
435  asgeojson_multiline_buf(mline, srs, output, bbox, precision);
436 
437  return output;
438 }
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.
uint8_t precision
Definition: cu_in_twkb.c:25
void * lwalloc(size_t size)
Definition: lwutil.c:199

Here is the call graph for this function:

Here is the caller graph for this function: