Point Geometry.
Definition at line 169 of file lwout_geojson.c.
170{
171 int size;
172
174 size += sizeof("{'type':'Point',");
175 size += sizeof("'coordinates':}");
176
178 size += 2;
179
182
183 return size;
184}
#define FLAGS_GET_Z(flags)
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().