PostGIS  3.0.6dev-r@@SVN_REVISION@@

◆ asgeojson_srs_size()

static size_t asgeojson_srs_size ( char *  srs)
static

Handle SRS.

Definition at line 99 of file lwout_geojson.c.

100 {
101  int size;
102 
103  size = sizeof("'crs':{'type':'name',");
104  size += sizeof("'properties':{'name':''}},");
105  size += strlen(srs) * sizeof(char);
106 
107  return size;
108 }

Referenced by asgeojson_point_size(), and asgeojson_triangle_size().

Here is the caller graph for this function: