PostGIS  2.5.1dev-r@@SVN_REVISION@@

◆ asgeojson_point()

static char * asgeojson_point ( const LWPOINT point,
char *  srs,
GBOX bbox,
int  precision 
)
static

Definition at line 201 of file lwout_geojson.c.

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

Referenced by lwgeom_to_geojson().

202 {
203  char *output;
204  int size;
205 
206  size = asgeojson_point_size(point, srs, bbox, precision);
207  output = lwalloc(size);
208  asgeojson_point_buf(point, srs, output, bbox, precision);
209  return output;
210 }
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:229
Here is the call graph for this function:
Here is the caller graph for this function: