diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2018-12-04 19:22:24 +0100 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2018-12-04 19:22:24 +0100 |
| commit | 724342895ee23496b92fc2b2c6e6fbf528cd3ba2 (patch) | |
| tree | 9cb233de43f00255809f06ae1c226fa25cdbd311 | |
| parent | ad42ef9e826a7864885c929632630b218796d9d3 (diff) | |
| download | PROJ-724342895ee23496b92fc2b2c6e6fbf528cd3ba2.tar.gz PROJ-724342895ee23496b92fc2b2c6e6fbf528cd3ba2.zip | |
exportToWK1: special case for MapInfo datum name
| -rw-r--r-- | src/datum.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/datum.cpp b/src/datum.cpp index b3edb152..9f9fb4ec 100644 --- a/src/datum.cpp +++ b/src/datum.cpp @@ -1096,7 +1096,9 @@ void GeodeticReferenceFrame::_exportToWKT( } } } - } else { + // Replace spaces by underscore, except if it is a special MapInfo + // datum name + } else if (!starts_with(l_name, "MIF ")) { l_name = io::WKTFormatter::morphNameToESRI(l_name); if (l_name == "World_Geodetic_System_1984") { l_name = "WGS_1984"; |
