aboutsummaryrefslogtreecommitdiff
path: root/src/iso19111/c_api.cpp
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2020-01-23 23:26:26 +0100
committerGitHub <noreply@github.com>2020-01-23 23:26:26 +0100
commit28121d1688140ed6f8cc5980ec625ecfd2f169ef (patch)
tree05cca9891bafd80b59c304ae36f7cfffc0fe963c /src/iso19111/c_api.cpp
parent9a4b8a6c21624192e111c7f1388ce4cbbd1d6fa7 (diff)
parent79eed0da28abdc41c996dc55ee231f1fcffe4fd2 (diff)
downloadPROJ-28121d1688140ed6f8cc5980ec625ecfd2f169ef.tar.gz
PROJ-28121d1688140ed6f8cc5980ec625ecfd2f169ef.zip
Merge pull request #1875 from rouault/backport_fix_wrong_use_of_derivingConversion
[6.3 backport] Fix wrong use of derivingConversionRef() that caused GDAL bug
Diffstat (limited to 'src/iso19111/c_api.cpp')
-rw-r--r--src/iso19111/c_api.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/iso19111/c_api.cpp b/src/iso19111/c_api.cpp
index 5a5e97f6..6fef5518 100644
--- a/src/iso19111/c_api.cpp
+++ b/src/iso19111/c_api.cpp
@@ -3563,7 +3563,7 @@ PJ *proj_crs_create_projected_3D_crs_from_2D(PJ_CONTEXT *ctx,
crs_name ? crs_name
: cpp_projected_2D_crs->nameStr().c_str()),
NN_NO_CHECK(cpp_geog_3D_CRS),
- cpp_projected_2D_crs->derivingConversionRef(), newCS));
+ cpp_projected_2D_crs->derivingConversion(), newCS));
} catch (const std::exception &e) {
proj_log_error(ctx, __FUNCTION__, e.what());
if (ctx->cpp_context) {