aboutsummaryrefslogtreecommitdiff
path: root/test/unit/test_crs.cpp
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2018-12-06 16:23:07 +0100
committerEven Rouault <even.rouault@spatialys.com>2018-12-06 16:31:25 +0100
commita9ef3a229c6fef5ef8a05ba521a0237f2ffa6aa6 (patch)
tree8b2cee3e3a7466ff914d705c3fb05cb126c83138 /test/unit/test_crs.cpp
parent25fa18055f43d0881a1a2bf9990c99fecfcbdbb7 (diff)
downloadPROJ-a9ef3a229c6fef5ef8a05ba521a0237f2ffa6aa6.tar.gz
PROJ-a9ef3a229c6fef5ef8a05ba521a0237f2ffa6aa6.zip
Coordinate operation search: add a authority_to_authority_preference table to restrict and prioritize searches
Diffstat (limited to 'test/unit/test_crs.cpp')
-rw-r--r--test/unit/test_crs.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/unit/test_crs.cpp b/test/unit/test_crs.cpp
index 44b84401..9c11ac4c 100644
--- a/test/unit/test_crs.cpp
+++ b/test/unit/test_crs.cpp
@@ -4841,6 +4841,11 @@ TEST(crs, crs_createBoundCRSToWGS84IfPossible) {
"+proj=geocent +ellps=intl "
"+towgs84=324.8,153.6,172.1,0,0,0,0 +units=m +no_defs");
}
+ {
+ auto crs = factory->createCoordinateReferenceSystem("4269"); // NAD83
+ auto bound = crs->createBoundCRSToWGS84IfPossible(dbContext);
+ EXPECT_EQ(bound, crs);
+ }
}
// ---------------------------------------------------------------------------