PostGIS  3.0.6dev-r@@SVN_REVISION@@

◆ asgeojson_point()

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

Definition at line 205 of file lwout_geojson.c.

206 {
207  char *output;
208  int size;
209 
210  size = asgeojson_point_size(point, srs, bbox, precision);
211  output = lwalloc(size);
212  asgeojson_point_buf(point, srs, output, bbox, precision);
213  return output;
214 }
static uint8_t precision
Definition: cu_in_twkb.c:25
void * lwalloc(size_t size)
Definition: lwutil.c:227
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: