diff options
| author | github-actions[bot] <github-actions[bot]@users.noreply.github.com> | 2020-03-11 17:17:07 +0000 |
|---|---|---|
| committer | Kristian Evers <kristianevers@gmail.com> | 2020-03-12 11:03:55 +0100 |
| commit | 60ed38a2483cf6fe44f2fdf7b75844c9fff2c92c (patch) | |
| tree | 26bf2003c8d7111914e6b98649683225b84b344f /src/iso19111/crs.cpp | |
| parent | e89734162c40e97ac25c633c268a0d4e5b335dde (diff) | |
| download | PROJ-60ed38a2483cf6fe44f2fdf7b75844c9fff2c92c.tar.gz PROJ-60ed38a2483cf6fe44f2fdf7b75844c9fff2c92c.zip | |
ProjectedCRS::identify(): tune it to better work with ESRI WKT representation of EPSG:2193
Diffstat (limited to 'src/iso19111/crs.cpp')
| -rw-r--r-- | src/iso19111/crs.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/iso19111/crs.cpp b/src/iso19111/crs.cpp index 94fbd81b..1c3db81e 100644 --- a/src/iso19111/crs.cpp +++ b/src/iso19111/crs.cpp @@ -3710,8 +3710,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() @@ -3732,7 +3731,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); |
