aboutsummaryrefslogtreecommitdiff
path: root/scripts
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
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')
-rwxr-xr-xscripts/create_c_api_projections.py2
-rw-r--r--scripts/reference_exported_symbols.txt2
2 files changed, 3 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")
diff --git a/scripts/reference_exported_symbols.txt b/scripts/reference_exported_symbols.txt
index c9f44ead..040ef88e 100644
--- a/scripts/reference_exported_symbols.txt
+++ b/scripts/reference_exported_symbols.txt
@@ -531,6 +531,7 @@ osgeo::proj::operation::Conversion::createTunisiaMappingGrid(osgeo::proj::util::
osgeo::proj::operation::Conversion::createTwoPointEquidistant(osgeo::proj::util::PropertyMap const&, osgeo::proj::common::Angle const&, osgeo::proj::common::Angle const&, osgeo::proj::common::Angle const&, osgeo::proj::common::Angle const&, osgeo::proj::common::Length const&, osgeo::proj::common::Length const&)
osgeo::proj::operation::Conversion::createUTM(osgeo::proj::util::PropertyMap const&, int, bool)
osgeo::proj::operation::Conversion::createVanDerGrinten(osgeo::proj::util::PropertyMap const&, osgeo::proj::common::Angle const&, osgeo::proj::common::Length const&, osgeo::proj::common::Length const&)
+osgeo::proj::operation::Conversion::createVerticalPerspective(osgeo::proj::util::PropertyMap const&, osgeo::proj::common::Angle const&, osgeo::proj::common::Angle const&, osgeo::proj::common::Length const&, osgeo::proj::common::Length const&, osgeo::proj::common::Length const&, osgeo::proj::common::Length const&)
osgeo::proj::operation::Conversion::createWagnerIII(osgeo::proj::util::PropertyMap const&, osgeo::proj::common::Angle const&, osgeo::proj::common::Angle const&, osgeo::proj::common::Length const&, osgeo::proj::common::Length const&)
osgeo::proj::operation::Conversion::createWagnerII(osgeo::proj::util::PropertyMap const&, osgeo::proj::common::Angle const&, osgeo::proj::common::Length const&, osgeo::proj::common::Length const&)
osgeo::proj::operation::Conversion::createWagnerI(osgeo::proj::util::PropertyMap const&, osgeo::proj::common::Angle const&, osgeo::proj::common::Length const&, osgeo::proj::common::Length const&)
@@ -869,6 +870,7 @@ proj_create_conversion_tunisia_mapping_grid
proj_create_conversion_two_point_equidistant
proj_create_conversion_utm
proj_create_conversion_van_der_grinten
+proj_create_conversion_vertical_perspective
proj_create_conversion_wagner_i
proj_create_conversion_wagner_ii
proj_create_conversion_wagner_iii