PostGIS  2.5.7dev-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.

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 uint8_t precision
Definition: cu_in_twkb.c:25
void * lwalloc(size_t size)
Definition: lwutil.c:229
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.

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

Referenced by lwgeom_to_geojson().

Here is the call graph for this function:
Here is the caller graph for this function: