PostGIS  3.3.9dev-r@@SVN_REVISION@@

◆ asgeojson_srs_size()

static size_t asgeojson_srs_size ( const char *  srs)
static

Handle SRS.

Definition at line 97 of file lwout_geojson.c.

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

Referenced by asgeojson_point_size(), and asgeojson_triangle_size().

Here is the caller graph for this function: