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

◆ asgeojson_srs_buf()

static size_t asgeojson_srs_buf ( char *  output,
char *  srs 
)
static

Definition at line 111 of file lwout_geojson.c.

112{
113 char *ptr = output;
114
115 ptr += sprintf(ptr, "\"crs\":{\"type\":\"name\",");
116 ptr += sprintf(ptr, "\"properties\":{\"name\":\"%s\"}},", srs);
117
118 return (ptr-output);
119}

Referenced by asgeojson_collection_buf(), asgeojson_line_buf(), asgeojson_multiline_buf(), asgeojson_multipoint_buf(), asgeojson_multipolygon_buf(), asgeojson_point_buf(), asgeojson_poly_buf(), and asgeojson_triangle_buf().

Here is the caller graph for this function: