PostGIS 3.0.6dev-r@@SVN_REVISION@@
Loading...
Searching...
No Matches

◆ asgeojson_collection()

static char * asgeojson_collection ( const LWCOLLECTION col,
char *  srs,
GBOX bbox,
int  precision 
)
static

Definition at line 638 of file lwout_geojson.c.

639{
640 char *output;
641 int size;
642
643 size = asgeojson_collection_size(col, srs, bbox, precision);
644 output = lwalloc(size);
645 asgeojson_collection_buf(col, srs, output, bbox, precision);
646
647 return output;
648}
static uint8_t precision
Definition cu_in_twkb.c:25
void * lwalloc(size_t size)
Definition lwutil.c:227
static size_t asgeojson_collection_buf(const LWCOLLECTION *col, char *srs, char *output, GBOX *bbox, int precision)
static size_t asgeojson_collection_size(const LWCOLLECTION *col, char *srs, GBOX *bbox, int precision)
Collection Geometry.

References asgeojson_collection_buf(), asgeojson_collection_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: