aboutsummaryrefslogtreecommitdiff
path: root/test/unit/test_c_api.cpp
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2018-12-11 16:03:21 +0100
committerEven Rouault <even.rouault@spatialys.com>2018-12-11 16:27:10 +0100
commit189955fbb0c36a81737a40f84e03df323e5f9356 (patch)
tree3b716b0820883f2cd1cccbde3ad69220c3b51cd9 /test/unit/test_c_api.cpp
parentc2c2e5d7f22f3c44c188200717236cf23547ac6f (diff)
downloadPROJ-189955fbb0c36a81737a40f84e03df323e5f9356.tar.gz
PROJ-189955fbb0c36a81737a40f84e03df323e5f9356.zip
API: add setters for Laborde Oblique Mercator, and add mapping to WKT1
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 772519ea..9c992445 100644
--- a/test/unit/test_c_api.cpp
+++ b/test/unit/test_c_api.cpp
@@ -1943,6 +1943,13 @@ TEST_F(CApi, proj_obj_create_projections) {
ASSERT_NE(projCRS, nullptr);
}
{
+ auto projCRS = proj_obj_create_conversion_laborde_oblique_mercator(
+ m_ctxt, 0, 0, 0, 0, 0, 0, "Degree", 0.0174532925199433, "Metre",
+ 1.0);
+ ObjectKeeper keeper_projCRS(projCRS);
+ ASSERT_NE(projCRS, nullptr);
+ }
+ {
auto projCRS =
proj_obj_create_conversion_international_map_world_polyconic(
m_ctxt, 0, 0, 0, 0, 0, "Degree", 0.0174532925199433, "Metre",