diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2019-10-02 22:19:41 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-10-02 22:19:41 +0200 |
| commit | dca893f02ac822f2ccf5f02a4331920eeb42299a (patch) | |
| tree | 496cf41d98468db2a74673619c235b2f71830889 /scripts/create_c_api_projections.py | |
| parent | 8040ef90f122f06254a36c36e20b97a5a7744a04 (diff) | |
| parent | f32255aa1139568df8cfb646ea62ca900939c105 (diff) | |
| download | PROJ-dca893f02ac822f2ccf5f02a4331920eeb42299a.tar.gz PROJ-dca893f02ac822f2ccf5f02a4331920eeb42299a.zip | |
Merge pull request #1650 from rouault/map_nsper_to_vertical_perspective
Add API and WKT mapping for 'nsper' to EPSG Vertical Perspective method
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") |
