Definition at line 187 of file lwout_geojson.c.
191 ptr += sprintf(ptr,
"{\"type\":\"Point\",");
195 ptr += sprintf(ptr,
"\"coordinates\":");
197 ptr += sprintf(ptr,
"[]");
199 ptr += sprintf(ptr,
"}");
#define FLAGS_GET_Z(flags)
int lwpoint_is_empty(const LWPOINT *point)
static size_t pointArray_to_geojson(POINTARRAY *pa, char *buf, int precision)
static size_t asgeojson_srs_buf(char *output, char *srs)
static size_t asgeojson_bbox_buf(char *output, GBOX *bbox, int hasz, int precision)
References asgeojson_bbox_buf(), asgeojson_srs_buf(), LWPOINT::flags, FLAGS_GET_Z, lwpoint_is_empty(), LWPOINT::point, pointArray_to_geojson(), and precision.
Referenced by asgeojson_point().