PostGIS  2.1.10dev-r@@SVN_REVISION@@
static char * asgeojson_line ( const LWLINE line,
char *  srs,
GBOX bbox,
int  precision 

Definition at line 235 of file lwout_geojson.c.

References asgeojson_line_buf(), asgeojson_line_size(), and lwalloc().

Referenced by lwgeom_to_geojson().

236 {
237  char *output;
238  int size;
240  size = asgeojson_line_size(line, srs, bbox, precision);
241  output = lwalloc(size);
242  asgeojson_line_buf(line, srs, output, bbox, precision);
244  return output;
245 }
static size_t asgeojson_line_buf(const LWLINE *line, char *srs, char *output, GBOX *bbox, int precision)
static size_t asgeojson_line_size(const LWLINE *line, char *srs, GBOX *bbox, int precision)
Line 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: