PostGIS  2.1.10dev-r@@SVN_REVISION@@
static size_t asgeojson_srs_buf ( char *  output,
char *  srs 
)
static

Definition at line 94 of file lwout_geojson.c.

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

95 {
96  char *ptr = output;
97 
98  ptr += sprintf(ptr, "\"crs\":{\"type\":\"name\",");
99  ptr += sprintf(ptr, "\"properties\":{\"name\":\"%s\"}},", srs);
100 
101  return (ptr-output);
102 }

Here is the caller graph for this function: