diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2019-12-17 16:52:08 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-12-17 16:52:08 +0100 |
| commit | 9db6e144ae10854a5aff46fad2584c840c251974 (patch) | |
| tree | 433d4c96ff925827beb2e8cce8988cbba9fd1eee /src/iso19111/util.cpp | |
| parent | da7ffcd528595acb97589d59319967d01d8e5e8f (diff) | |
| parent | 75a3299803beabf2dd2600aee2b5849347dabc29 (diff) | |
| download | PROJ-9db6e144ae10854a5aff46fad2584c840c251974.tar.gz PROJ-9db6e144ae10854a5aff46fad2584c840c251974.zip | |
Merge pull request #1803 from rouault/improve_identification_with_datum_name_aliases
identify(): take into datum name aliases (fixes #1800)
Diffstat (limited to 'src/iso19111/util.cpp')
| -rw-r--r-- | src/iso19111/util.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/iso19111/util.cpp b/src/iso19111/util.cpp index 25207d5c..2a6178e2 100644 --- a/src/iso19111/util.cpp +++ b/src/iso19111/util.cpp @@ -687,11 +687,13 @@ IComparable::~IComparable() = default; /** \brief Returns whether an object is equivalent to another one. * @param other other object to compare to * @param criterion comparaison criterion. + * @param dbContext Database context, or nullptr. * @return true if objects are equivalent. */ -bool IComparable::isEquivalentTo(const IComparable *other, - Criterion criterion) const { - return _isEquivalentTo(other, criterion); +bool IComparable::isEquivalentTo( + const IComparable *other, Criterion criterion, + const io::DatabaseContextPtr &dbContext) const { + return _isEquivalentTo(other, criterion, dbContext); } // --------------------------------------------------------------------------- |
