From 7396d4d96c3646a53b36477e15dafb4db52678cf Mon Sep 17 00:00:00 2001 From: Even Rouault Date: Wed, 29 Sep 2021 23:32:10 +0200 Subject: CRS::identify(): fix ignoring CS order when identifying a geodetic CRS by a PROJ string with just the ellipsoid --- src/iso19111/crs.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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, -- cgit v1.2.3