PostGIS  3.0.6dev-r@@SVN_REVISION@@

◆ 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_point_buf(), and asgeojson_triangle_buf().

Here is the caller graph for this function: