PostGIS  3.4.0dev-r@@SVN_REVISION@@

◆ asgeojson_point()

static void asgeojson_point ( stringbuffer_t sb,
const LWPOINT point,
const geojson_opts opts 
)
static

Point Geometry.

Definition at line 175 of file lwout_geojson.c.

176 {
177  stringbuffer_append_len(sb, "{\"type\":\"Point\",", 16);
178  asgeojson_srs(sb, opts);
179  asgeojson_bbox(sb, opts);
181  stringbuffer_append_char(sb, '}');
182  return;
183 }
static void asgeojson_srs(stringbuffer_t *sb, const geojson_opts *opts)
Definition: lwout_geojson.c:95
static void asgeojson_bbox(stringbuffer_t *sb, const geojson_opts *opts)
static void asgeojson_point_coords(stringbuffer_t *sb, const LWPOINT *point, const geojson_opts *opts, int tagged)
Point Geometry.
@ geojson_tagged
Definition: lwout_geojson.c:42
opts
Definition: ovdump.py:45
static void stringbuffer_append_char(stringbuffer_t *s, char c)
Definition: stringbuffer.h:119
static void stringbuffer_append_len(stringbuffer_t *s, const char *a, size_t alen)
Append the specified string to the stringbuffer_t using known length.
Definition: stringbuffer.h:93

References asgeojson_bbox(), asgeojson_point_coords(), asgeojson_srs(), geojson_tagged, ovdump::opts, stringbuffer_append_char(), and stringbuffer_append_len().

Referenced by asgeojson_geometry().

Here is the call graph for this function:
Here is the caller graph for this function: