aboutsummaryrefslogtreecommitdiff
path: root/src/datum.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/datum.cpp')
-rw-r--r--src/datum.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/datum.cpp b/src/datum.cpp
index 9f9fb4ec..975a870a 100644
--- a/src/datum.cpp
+++ b/src/datum.cpp
@@ -388,7 +388,10 @@ bool PrimeMeridian::_isEquivalentTo(
!IdentifiedObject::_isEquivalentTo(other, criterion)) {
return false;
}
- return longitude()._isEquivalentTo(otherPM->longitude(), criterion);
+ // In MapInfo, the Paris prime meridian is returned as 2.3372291666667
+ // instead of the official value of 2.33722917, which is a relative
+ // error in the 1e-9 range.
+ return longitude()._isEquivalentTo(otherPM->longitude(), criterion, 1e-8);
}
//! @endcond