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

Definition at line 429 of file lwout_geojson.c.

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

Referenced by lwgeom_to_geojson().

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

Here is the call graph for this function:

Here is the caller graph for this function: