aboutsummaryrefslogtreecommitdiff
path: root/test/unit/test_crs.cpp
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2021-04-12 11:51:10 +0200
committerGitHub <noreply@github.com>2021-04-12 11:51:10 +0200
commit3bc25ac8a9deb868174a19392266dd2c870e3179 (patch)
tree3c31c61f240b01cafda33cce2f40d4f749bf7507 /test/unit/test_crs.cpp
parent3361e5286881be9686b11b2bbfb5371d91aba7e8 (diff)
parent88426c18e43538edc6075d47b3b6829ada7e9a76 (diff)
downloadPROJ-3bc25ac8a9deb868174a19392266dd2c870e3179.tar.gz
PROJ-3bc25ac8a9deb868174a19392266dd2c870e3179.zip
Merge pull request #2659 from rouault/fix_2603
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");
}
// ---------------------------------------------------------------------------