aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2021-09-30 12:08:34 +0200
committerGitHub <noreply@github.com>2021-09-30 12:08:34 +0200
commitef5c77acb2a6286f856b9ad6940f78013f6b3c54 (patch)
tree0b1f7a43880978c49127620321f1cab6e6239380 /src
parent64c38c2bc12f06ad994cfee57fe9e20f4bdcf272 (diff)
parent7396d4d96c3646a53b36477e15dafb4db52678cf (diff)
downloadPROJ-ef5c77acb2a6286f856b9ad6940f78013f6b3c54.tar.gz
PROJ-ef5c77acb2a6286f856b9ad6940f78013f6b3c54.zip
Merge pull request #2881 from rouault/fix_misidentification_of_projstring_with_ellipsoid
CRS::identify(): fix ignoring CS order when identifying a geodetic CRS by a PROJ string with just the ellipsoid
Diffstat (limited to 'src')
-rw-r--r--src/iso19111/crs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/iso19111/crs.cpp b/src/iso19111/crs.cpp
index 7c42c18c..b48f0d70 100644
--- a/src/iso19111/crs.cpp
+++ b/src/iso19111/crs.cpp
@@ -2431,7 +2431,7 @@ GeodeticCRS::identify(const io::AuthorityFactoryPtr &authorityFactory) const {
thisDatum->primeMeridian().get(),
util::IComparable::Criterion::EQUIVALENT,
dbContext) &&
- (!l_implicitCS ||
+ (l_implicitCS ||
coordinateSystem()->_isEquivalentTo(
crs->coordinateSystem().get(),
util::IComparable::Criterion::EQUIVALENT,