diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2019-10-02 16:28:46 +0200 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2019-10-02 20:34:08 +0200 |
| commit | f32255aa1139568df8cfb646ea62ca900939c105 (patch) | |
| tree | 496cf41d98468db2a74673619c235b2f71830889 /scripts/create_c_api_projections.py | |
| parent | a167035343b1ac1d2905f17957cc974bfbfc800e (diff) | |
| download | PROJ-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-x | scripts/create_c_api_projections.py | 2 |
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") |
