PostGIS  3.1.6dev-r@@SVN_REVISION@@

◆ asgeojson_srs_buf()

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

Definition at line 109 of file lwout_geojson.c.

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

Referenced by asgeojson_point_buf(), and asgeojson_triangle_buf().

Here is the caller graph for this function: