From dae4a3bfac6ec54c0520e4228846dfae1cd9a67d Mon Sep 17 00:00:00 2001 From: Even Rouault Date: Thu, 31 Jan 2019 19:00:02 +0100 Subject: exportToWKT(): restrict a8e7ef45d132b44dd4096c6fe3703fe92b390d1e to TOWGS84 only to avoid breaking other use cases --- src/iso19111/datum.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/iso19111/datum.cpp') diff --git a/src/iso19111/datum.cpp b/src/iso19111/datum.cpp index 9d2e48a0..4df1b319 100644 --- a/src/iso19111/datum.cpp +++ b/src/iso19111/datum.cpp @@ -1126,7 +1126,7 @@ void GeodeticReferenceFrame::_exportToWKT( if (TOWGS84Params.size() == 7) { formatter->startNode(io::WKTConstants::TOWGS84, false); for (const auto &val : TOWGS84Params) { - formatter->add(val); + formatter->add(val, 12); } formatter->endNode(); } -- cgit v1.2.3