aboutsummaryrefslogtreecommitdiff
path: root/test/unit/test_operation.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/unit/test_operation.cpp')
-rw-r--r--test/unit/test_operation.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/unit/test_operation.cpp b/test/unit/test_operation.cpp
index 6ddbd9f4..2830ea94 100644
--- a/test/unit/test_operation.cpp
+++ b/test/unit/test_operation.cpp
@@ -4223,6 +4223,18 @@ TEST(operation, adams_ws2_export_failure) {
// ---------------------------------------------------------------------------
+TEST(operation, hyperbolic_cassini_soldner) {
+ auto dbContext = DatabaseContext::create();
+ auto crs =
+ AuthorityFactory::create(dbContext, "EPSG")->createProjectedCRS("3139");
+ EXPECT_EQ(crs->exportToPROJString(PROJStringFormatter::create().get()),
+ "+proj=cass +hyperbolic +lat_0=-16.25 +lon_0=179.333333333333 "
+ "+x_0=251727.9155424 +y_0=334519.953768 "
+ "+a=6378306.3696 +b=6356571.996 +units=link +no_defs +type=crs");
+}
+
+// ---------------------------------------------------------------------------
+
TEST(operation, PROJ_based) {
auto conv = SingleOperation::createPROJBased(PropertyMap(), "+proj=merc",
nullptr, nullptr);