diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2020-08-07 17:22:31 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-08-07 17:22:31 +0200 |
| commit | 56bacd3dc9ecb650bbe509758f785e5c319aa004 (patch) | |
| tree | 73b4a77eabe009877ff3a9e6bfa917d15b7bd8ae /src | |
| parent | 916026cc3429b503521045f14d281d13bf442921 (diff) | |
| download | PROJ-56bacd3dc9ecb650bbe509758f785e5c319aa004.tar.gz PROJ-56bacd3dc9ecb650bbe509758f785e5c319aa004.zip | |
ProjectedCRS::identify(): fix to be able to identify EPSG:2154 as a candidate for 'RGF93_Lambert_93' (contributes to fixes https://github.com/qgis/QGIS/issues/32255) (#2315)
Diffstat (limited to 'src')
| -rw-r--r-- | src/iso19111/factory.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/iso19111/factory.cpp b/src/iso19111/factory.cpp index de8e1362..4894085e 100644 --- a/src/iso19111/factory.cpp +++ b/src/iso19111/factory.cpp @@ -5642,7 +5642,7 @@ AuthorityFactory::createObjectsFromNameEx( sql += "AND deprecated = 1 "; } if (!approximateMatch) { - sql += "AND name LIKE ? "; + sql += "AND name = ? "; params.push_back(searchedNameWithoutDeprecated); } if (d->hasAuthorityRestriction()) { @@ -5672,7 +5672,7 @@ AuthorityFactory::createObjectsFromNameEx( sql += "AND ov.deprecated = 1 "; } if (!approximateMatch) { - sql += "AND a.alt_name LIKE ? "; + sql += "AND a.alt_name = ? "; params.push_back(searchedNameWithoutDeprecated); } if (d->hasAuthorityRestriction()) { |
