aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/iso19111/crs.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/iso19111/crs.cpp b/src/iso19111/crs.cpp
index e1181d43..66d7a62e 100644
--- a/src/iso19111/crs.cpp
+++ b/src/iso19111/crs.cpp
@@ -3743,8 +3743,7 @@ ProjectedCRS::identify(const io::AuthorityFactoryPtr &authorityFactory) const {
return res;
}
res.emplace_back(crsNN, eqName ? 90 : 70);
- } else if (crs->nameStr() == thisName &&
- CRS::getPrivate()->implicitCS_ &&
+ } else if (eqName && CRS::getPrivate()->implicitCS_ &&
coordinateSystem()
->axisList()[0]
->unit()
@@ -3765,7 +3764,8 @@ ProjectedCRS::identify(const io::AuthorityFactoryPtr &authorityFactory) const {
dbContext) &&
objects.size() == 1) {
res.clear();
- res.emplace_back(crsNN, 100);
+ res.emplace_back(crsNN,
+ crs->nameStr() == thisName ? 100 : 90);
return res;
} else {
res.emplace_back(crsNN, 25);