From ed462b39fb7d9b92a75a069da707f2b7921b2820 Mon Sep 17 00:00:00 2001 From: Even Rouault Date: Mon, 21 Jan 2019 19:31:02 +0100 Subject: proj_create_crs_to_crs(): defer selection of actual coordinate operation until proj_trans() is called (fixes #1229) --- src/iso19111/c_api.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/iso19111/c_api.cpp') diff --git a/src/iso19111/c_api.cpp b/src/iso19111/c_api.cpp index 06a3c02e..de11f181 100644 --- a/src/iso19111/c_api.cpp +++ b/src/iso19111/c_api.cpp @@ -337,7 +337,7 @@ PJ *proj_create(PJ_CONTEXT *ctx, const char *text) { assert(text); // Only connect to proj.db if needed - if( strstr(text, "proj=") == nullptr || strstr(text, "init=") != nullptr ) { + if (strstr(text, "proj=") == nullptr || strstr(text, "init=") != nullptr) { getDBcontextNoException(ctx, __FUNCTION__); } try { -- cgit v1.2.3