diff options
| author | Kristian Evers <kristianevers@gmail.com> | 2019-05-01 18:40:04 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-05-01 18:40:04 +0200 |
| commit | eeda5f7e5fd94a0cdcbf90df1f0b04a090f4c037 (patch) | |
| tree | 86a8e2a7277351415e0836e37a975b81afd10b1c /src/iso19111/coordinateoperation.cpp | |
| parent | e2b291c0c2a684313143eaf334fbf1161075b449 (diff) | |
| parent | 8c025212b364cca181f1b436068516313032182c (diff) | |
| download | PROJ-eeda5f7e5fd94a0cdcbf90df1f0b04a090f4c037.tar.gz PROJ-eeda5f7e5fd94a0cdcbf90df1f0b04a090f4c037.zip | |
Reduce database size (#1438)
Reduce database size
Diffstat (limited to 'src/iso19111/coordinateoperation.cpp')
| -rw-r--r-- | src/iso19111/coordinateoperation.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/iso19111/coordinateoperation.cpp b/src/iso19111/coordinateoperation.cpp index 9c393aba..605004b6 100644 --- a/src/iso19111/coordinateoperation.cpp +++ b/src/iso19111/coordinateoperation.cpp @@ -5120,10 +5120,11 @@ static void getESRIMethodNameAndParams(const Conversion *conv, } } else if (esriMapping->epsg_code == EPSG_CODE_METHOD_TRANSVERSE_MERCATOR) { - if (l_targetCRS && - (ci_find(l_targetCRS->nameStr(), "Gauss") != - std::string::npos || - ci_find(l_targetCRS->nameStr(), "GK_") != std::string::npos)) { + if (ci_find(conv->nameStr(), "Gauss Kruger") != std::string::npos || + (l_targetCRS && (ci_find(l_targetCRS->nameStr(), "Gauss") != + std::string::npos || + ci_find(l_targetCRS->nameStr(), "GK_") != + std::string::npos))) { esriParams = paramsESRI_Gauss_Kruger; esriMethodName = "Gauss_Kruger"; } else { |
