diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2019-12-16 21:11:58 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-12-16 21:11:58 +0100 |
| commit | da7ffcd528595acb97589d59319967d01d8e5e8f (patch) | |
| tree | 98e494752859817551721f07b136d0e5856322f2 /src/iso19111/coordinateoperation.cpp | |
| parent | b183705980d633b52b0288f0ab815988f9f532f6 (diff) | |
| parent | a68c146d7f3c1efb0f42b46c708a0a195e51a2ff (diff) | |
| download | PROJ-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.cpp | 4 |
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(); |
