@@ -7325,9 +7325,11 @@ TEST(wkt_parse, wkt1_esri_ups_north) {
7325
7325
auto crs = nn_dynamic_pointer_cast<ProjectedCRS>(obj);
7326
7326
ASSERT_TRUE(crs != nullptr);
7327
7327
7328
- EXPECT_EQ(crs->nameStr(), "WGS 84 / UPS North (E,N )");
7328
+ EXPECT_EQ(crs->nameStr(), "WGS 84 / UPS North (N,E )");
7329
7329
EXPECT_EQ(crs->coordinateSystem()->axisList()[0]->direction(),
7330
7330
AxisDirection::SOUTH);
7331
+ // Yes, inconsistency between the name (coming from EPSG) and the fact
7332
+ // that with ESRI CRS, we always output E, N axis order
7331
7333
EXPECT_EQ(crs->coordinateSystem()->axisList()[0]->abbreviation(), "E");
7332
7334
EXPECT_EQ(crs->coordinateSystem()->axisList()[1]->direction(),
7333
7335
AxisDirection::SOUTH);
@@ -7355,9 +7357,11 @@ TEST(wkt_parse, wkt1_esri_ups_south) {
7355
7357
auto crs = nn_dynamic_pointer_cast<ProjectedCRS>(obj);
7356
7358
ASSERT_TRUE(crs != nullptr);
7357
7359
7358
- EXPECT_EQ(crs->nameStr(), "WGS 84 / UPS South (E,N )");
7360
+ EXPECT_EQ(crs->nameStr(), "WGS 84 / UPS South (N,E )");
7359
7361
EXPECT_EQ(crs->coordinateSystem()->axisList()[0]->direction(),
7360
7362
AxisDirection::NORTH);
7363
+ // Yes, inconsistency between the name (coming from EPSG) and the fact
7364
+ // that with ESRI CRS, we always output E, N axis order
7361
7365
EXPECT_EQ(crs->coordinateSystem()->axisList()[0]->abbreviation(), "E");
7362
7366
EXPECT_EQ(crs->coordinateSystem()->axisList()[1]->direction(),
7363
7367
AxisDirection::NORTH);
0 commit comments