aboutsummaryrefslogtreecommitdiff
path: root/src/iso19111/coordinateoperation.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/iso19111/coordinateoperation.cpp')
-rw-r--r--src/iso19111/coordinateoperation.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/iso19111/coordinateoperation.cpp b/src/iso19111/coordinateoperation.cpp
index 287611f8..070dfc20 100644
--- a/src/iso19111/coordinateoperation.cpp
+++ b/src/iso19111/coordinateoperation.cpp
@@ -9346,7 +9346,8 @@ void Transformation::_exportToPROJString(
}
if (!sourceCRSGeog->ellipsoid()->_isEquivalentTo(
- targetCRSGeog->ellipsoid().get())) {
+ targetCRSGeog->ellipsoid().get(),
+ util::IComparable::Criterion::EQUIVALENT)) {
// This is arguable if we should check this...
throw io::FormattingException("Can apply Longitude rotation "
"only to SRS with same "