PostGIS  2.2.8dev-r@@SVN_REVISION@@

◆ asgeojson_multiline()

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

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;
433  size = asgeojson_multiline_size(mline, srs, bbox, precision);
434  output = lwalloc(size);
435  asgeojson_multiline_buf(mline, srs, output, bbox, precision);
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: