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

Definition at line 442 of file lwout_geojson.c.

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

Referenced by lwgeom_to_geojson().

443 {
444  char *output;
445  int size;
446 
447  size = asgeojson_multiline_size(mline, srs, bbox, precision);
448  output = lwalloc(size);
449  asgeojson_multiline_buf(mline, srs, output, bbox, precision);
450 
451  return output;
452 }
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:229

Here is the call graph for this function:

Here is the caller graph for this function: