diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2019-01-22 11:08:16 +0100 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2019-01-22 11:08:16 +0100 |
| commit | 62e680a4d353c380d0104c392c963d2ba902ef36 (patch) | |
| tree | 5ca560bc25efca297ebb99364e614e35a64d19b9 /src | |
| parent | 5c86b290e2c5686cbf5100eb71e32b0362a989fc (diff) | |
| download | PROJ-62e680a4d353c380d0104c392c963d2ba902ef36.tar.gz PROJ-62e680a4d353c380d0104c392c963d2ba902ef36.zip | |
exportToWKT: use upper-case exponent (E) to conform to WKT-2 EBNF
Diffstat (limited to 'src')
| -rw-r--r-- | src/iso19111/io.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/iso19111/io.cpp b/src/iso19111/io.cpp index 4c417585..43f4720a 100644 --- a/src/iso19111/io.cpp +++ b/src/iso19111/io.cpp @@ -512,7 +512,7 @@ void WKTFormatter::add(double number, int precision) { } else { std::string val( normalizeSerializedString(internal::toString(number, precision))); - d->result_ += val; + d->result_ += replaceAll(val, "e", "E"); if (d->params_.useESRIDialect_ && val.find('.') == std::string::npos) { d->result_ += ".0"; } |
