aboutsummaryrefslogtreecommitdiff
path: root/scripts/create_c_api_projections.py
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2019-10-02 16:28:46 +0200
committerEven Rouault <even.rouault@spatialys.com>2019-10-02 20:34:08 +0200
commitf32255aa1139568df8cfb646ea62ca900939c105 (patch)
tree496cf41d98468db2a74673619c235b2f71830889 /scripts/create_c_api_projections.py
parenta167035343b1ac1d2905f17957cc974bfbfc800e (diff)
downloadPROJ-f32255aa1139568df8cfb646ea62ca900939c105.tar.gz
PROJ-f32255aa1139568df8cfb646ea62ca900939c105.zip
Add API and WKT mapping for 'nsper' to EPSG Vertical Persepective method
Relates to https://github.com/OSGeo/gdal/issues/1856
Diffstat (limited to 'scripts/create_c_api_projections.py')
-rwxr-xr-xscripts/create_c_api_projections.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/create_c_api_projections.py b/scripts/create_c_api_projections.py
index e99c36a8..1d6c638d 100755
--- a/scripts/create_c_api_projections.py
+++ b/scripts/create_c_api_projections.py
@@ -157,7 +157,7 @@ for sectiondef in compounddef.iter('sectiondef'):
cppfile.write(", Scale(" + param[1] + ")")
cppfile.write(");\n")
- cppfile.write(" return proj_create_conversion(conv);\n")
+ cppfile.write(" return proj_create_conversion(ctx, conv);\n")
cppfile.write(" } catch (const std::exception &e) {\n");
cppfile.write(" proj_log_error(ctx, __FUNCTION__, e.what());\n")
cppfile.write(" }\n")