PostGIS  2.1.10dev-r@@SVN_REVISION@@
static char * asgeojson_point ( const LWPOINT point,
char *  srs,
GBOX bbox,
int  precision 

Definition at line 188 of file lwout_geojson.c.

References asgeojson_point_buf(), asgeojson_point_size(), and lwalloc().

Referenced by lwgeom_to_geojson().

189 {
190  char *output;
191  int size;
193  size = asgeojson_point_size(point, srs, bbox, precision);
194  output = lwalloc(size);
195  asgeojson_point_buf(point, srs, output, bbox, precision);
196  return output;
197 }
static size_t asgeojson_point_buf(const LWPOINT *point, char *srs, char *output, GBOX *bbox, int precision)
static size_t asgeojson_point_size(const LWPOINT *point, char *srs, GBOX *bbox, int precision)
Point 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: