diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2021-04-10 22:09:29 +0200 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2021-04-11 00:22:03 +0200 |
| commit | d870b33803c184feb97e4abd67e1896b89c8e8c1 (patch) | |
| tree | d6bfbf198afaca4617fbc5fce97ad76a6dbaa707 /test | |
| parent | 5f3fda7527bb3f41f1ac842d7dc6d7a6fa2f0529 (diff) | |
| download | PROJ-d870b33803c184feb97e4abd67e1896b89c8e8c1.tar.gz PROJ-d870b33803c184feb97e4abd67e1896b89c8e8c1.zip | |
CRS::normalizeForVisualization(): propagate domains/extent of original CRS (fixes #2603)
Diffstat (limited to 'test')
| -rw-r--r-- | test/unit/test_crs.cpp | 4 |
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"); } // --------------------------------------------------------------------------- |
