aboutsummaryrefslogtreecommitdiff
path: root/test/unit/test_c_api.cpp
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2019-10-02 22:19:41 +0200
committerGitHub <noreply@github.com>2019-10-02 22:19:41 +0200
commitdca893f02ac822f2ccf5f02a4331920eeb42299a (patch)
tree496cf41d98468db2a74673619c235b2f71830889 /test/unit/test_c_api.cpp
parent8040ef90f122f06254a36c36e20b97a5a7744a04 (diff)
parentf32255aa1139568df8cfb646ea62ca900939c105 (diff)
downloadPROJ-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 'test/unit/test_c_api.cpp')
-rw-r--r--test/unit/test_c_api.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/unit/test_c_api.cpp b/test/unit/test_c_api.cpp
index 483ecdbd..b4c620ce 100644
--- a/test/unit/test_c_api.cpp
+++ b/test/unit/test_c_api.cpp
@@ -2402,6 +2402,13 @@ TEST_F(CApi, proj_create_projections) {
ObjectKeeper keeper_projCRS(projCRS);
ASSERT_NE(projCRS, nullptr);
}
+ {
+ auto projCRS = proj_create_conversion_vertical_perspective(
+ m_ctxt, 0, 0, 0, 0, 0, 0, "Degree", 0.0174532925199433, "Metre",
+ 1.0);
+ ObjectKeeper keeper_projCRS(projCRS);
+ ASSERT_NE(projCRS, nullptr);
+ }
/* END: Generated by scripts/create_c_api_projections.py*/
}