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

Definition at line 187 of file lwout_geojson.c.

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

Referenced by lwgeom_to_geojson().

188 {
189  char *output;
190  int size;
191 
192  size = asgeojson_point_size(point, srs, bbox, precision);
193  output = lwalloc(size);
194  asgeojson_point_buf(point, srs, output, bbox, precision);
195  return output;
196 }
static size_t asgeojson_point_buf(const LWPOINT *point, char *srs, char *output, GBOX *bbox, int precision)
uint8_t precision
Definition: cu_in_twkb.c:25
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:199

Here is the call graph for this function:

Here is the caller graph for this function: