aboutsummaryrefslogtreecommitdiff
path: root/test/unit/test_crs.cpp
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2021-04-10 22:09:29 +0200
committerEven Rouault <even.rouault@spatialys.com>2021-04-12 11:51:30 +0200
commite03a9aacec01aa8082304c192f34fd26b95a5e11 (patch)
tree1cad5b34636f9e75b08454ea18e9cc23735c6a74 /test/unit/test_crs.cpp
parenta42b447021a2f337d66d1e30d4880cd2be08932a (diff)
downloadPROJ-e03a9aacec01aa8082304c192f34fd26b95a5e11.tar.gz
PROJ-e03a9aacec01aa8082304c192f34fd26b95a5e11.zip
CRS::normalizeForVisualization(): propagate domains/extent of original CRS (fixes #2603)
Diffstat (limited to 'test/unit/test_crs.cpp')
-rw-r--r--test/unit/test_crs.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/unit/test_crs.cpp b/test/unit/test_crs.cpp
index 5ff4dd2d..719cd125 100644
--- a/test/unit/test_crs.cpp
+++ b/test/unit/test_crs.cpp
@@ -1002,6 +1002,10 @@ TEST(crs, EPSG_32661_projected_north_pole_north_east) {
EXPECT_EQ(
opNormalized->exportToPROJString(PROJStringFormatter::create().get()),
proj_string_normalized);
+
+ EXPECT_EQ(opNormalized->sourceCRS()->domains().size(), 1U);
+ EXPECT_EQ(opNormalized->sourceCRS()->remarks(),
+ "Axis order reversed compared to EPSG:4326");
}
// ---------------------------------------------------------------------------