aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2021-09-29 23:32:10 +0200
committerEven Rouault <even.rouault@spatialys.com>2021-09-29 23:32:10 +0200
commit7396d4d96c3646a53b36477e15dafb4db52678cf (patch)
tree0b1f7a43880978c49127620321f1cab6e6239380 /src
parent64c38c2bc12f06ad994cfee57fe9e20f4bdcf272 (diff)
downloadPROJ-7396d4d96c3646a53b36477e15dafb4db52678cf.tar.gz
PROJ-7396d4d96c3646a53b36477e15dafb4db52678cf.zip
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,