From 724342895ee23496b92fc2b2c6e6fbf528cd3ba2 Mon Sep 17 00:00:00 2001 From: Even Rouault Date: Tue, 4 Dec 2018 19:22:24 +0100 Subject: exportToWK1: special case for MapInfo datum name --- src/datum.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/datum.cpp') 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"; -- cgit v1.2.3