206 #if POSTGIS_PROJ_VERSION < 61
210 PJ_INFO pji = proj_info();
215 #if POSTGIS_PROJ_VERSION >= 70
218 " NETWORK_ENABLED=%s",
219 proj_context_is_network_enabled(NULL) ?
"ON" :
"OFF");
221 if (proj_context_get_url_endpoint(NULL))
224 if (proj_context_get_user_writable_directory(NULL, 0))
225 stringbuffer_aprintf(&sb,
" USER_WRITABLE_DIRECTORY=%s", proj_context_get_user_writable_directory(NULL, 0));
227 if (proj_context_get_database_path(NULL))
int stringbuffer_aprintf(stringbuffer_t *s, const char *fmt,...)
Appends a formatted string to the current string buffer, using the format and argument list provided.
void stringbuffer_init(stringbuffer_t *s)
const char * stringbuffer_getstring(stringbuffer_t *s)
Returns a reference to the internal string being managed by the stringbuffer.
static void stringbuffer_append(stringbuffer_t *s, const char *a)
Append the specified string to the stringbuffer_t.