Point Geometry.
Definition at line 165 of file lwout_geojson.c.
References asgeojson_bbox_size(), asgeojson_srs_size(), LWPOINT::flags, FLAGS_GET_Z, lwpoint_is_empty(), LWPOINT::point, and pointArray_geojson_size().
Referenced by asgeojson_geom_size(), and asgeojson_point().
170 size +=
sizeof(
"{'type':'Point',");
171 size +=
sizeof(
"'coordinates':}");
static size_t asgeojson_bbox_size(int hasz, int precision)
Handle Bbox.
#define FLAGS_GET_Z(flags)
Macros for manipulating the 'flags' byte.
int lwpoint_is_empty(const LWPOINT *point)
static size_t asgeojson_srs_size(char *srs)
Handle SRS.
static size_t pointArray_geojson_size(POINTARRAY *pa, int precision)
Returns maximum size of rendered pointarray in bytes.