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