diff options
| author | Even Rouault <even.rouault@mines-paris.org> | 2019-01-22 15:29:38 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-01-22 15:29:38 +0100 |
| commit | 8ff49e280c446421ca4669e851687847b0da7c9a (patch) | |
| tree | 8d0ac07ef77eba5049173f02ced43c0d619328cc /src/iso19111/c_api.cpp | |
| parent | 62e680a4d353c380d0104c392c963d2ba902ef36 (diff) | |
| parent | 0b75ef6ae8f61fe9b518e96f9083449e7e2e8971 (diff) | |
| download | PROJ-8ff49e280c446421ca4669e851687847b0da7c9a.tar.gz PROJ-8ff49e280c446421ca4669e851687847b0da7c9a.zip | |
Merge pull request #1231 from rouault/fix_1229
proj_create_crs_to_crs(): defer selection of actual coordinate operation until proj_trans() is called (fixes #1229)
Diffstat (limited to 'src/iso19111/c_api.cpp')
| -rw-r--r-- | src/iso19111/c_api.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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 { |
