PostGIS 3.7.0dev-r@@SVN_REVISION@@
Loading...
Searching...
No Matches

◆ 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);
180 asgeojson_point_coords(sb, point, opts, geojson_tagged);
182 return;
183}
static void asgeojson_srs(stringbuffer_t *sb, const geojson_opts *opts)
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
static void stringbuffer_append_char(stringbuffer_t *s, char c)
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.

References asgeojson_bbox(), asgeojson_point_coords(), asgeojson_srs(), geojson_tagged, 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: