aboutsummaryrefslogtreecommitdiff
path: root/src/iso19111/coordinateoperation.cpp
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2019-12-16 21:11:58 +0100
committerGitHub <noreply@github.com>2019-12-16 21:11:58 +0100
commitda7ffcd528595acb97589d59319967d01d8e5e8f (patch)
tree98e494752859817551721f07b136d0e5856322f2 /src/iso19111/coordinateoperation.cpp
parentb183705980d633b52b0288f0ab815988f9f532f6 (diff)
parenta68c146d7f3c1efb0f42b46c708a0a195e51a2ff (diff)
downloadPROJ-da7ffcd528595acb97589d59319967d01d8e5e8f.tar.gz
PROJ-da7ffcd528595acb97589d59319967d01d8e5e8f.zip
Merge pull request #1802 from rouault/improve_boundcrs_identify
BoundCRS::identify(): improvements to discard CRS that aren't relevant (fixes #1801)
Diffstat (limited to 'src/iso19111/coordinateoperation.cpp')
-rw-r--r--src/iso19111/coordinateoperation.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/iso19111/coordinateoperation.cpp b/src/iso19111/coordinateoperation.cpp
index 0469cae1..2c3e38ac 100644
--- a/src/iso19111/coordinateoperation.cpp
+++ b/src/iso19111/coordinateoperation.cpp
@@ -10189,7 +10189,9 @@ bool ConcatenatedOperation::_isEquivalentTo(
const util::IComparable *other,
util::IComparable::Criterion criterion) const {
auto otherCO = dynamic_cast<const ConcatenatedOperation *>(other);
- if (otherCO == nullptr || !ObjectUsage::_isEquivalentTo(other, criterion)) {
+ if (otherCO == nullptr ||
+ (criterion == util::IComparable::Criterion::STRICT &&
+ !ObjectUsage::_isEquivalentTo(other, criterion))) {
return false;
}
const auto &steps = operations();