PostGIS  2.2.7dev-r@@SVN_REVISION@@
static size_t asgeojson_srs_size ( char *  srs)
static

Handle SRS.

Definition at line 81 of file lwout_geojson.c.

Referenced by asgeojson_collection_size(), asgeojson_line_size(), asgeojson_multiline_size(), asgeojson_multipoint_size(), asgeojson_multipolygon_size(), asgeojson_point_size(), and asgeojson_poly_size().

82 {
83  int size;
84 
85  size = sizeof("'crs':{'type':'name',");
86  size += sizeof("'properties':{'name':''}},");
87  size += strlen(srs) * sizeof(char);
88 
89  return size;
90 }

Here is the caller graph for this function: