diff options
| author | Kristian Evers <kristianevers@gmail.com> | 2019-04-02 09:59:37 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-04-02 09:59:37 +0200 |
| commit | b8a62522b0eca6b4b806471cdff984a28ea1c8fe (patch) | |
| tree | 57fa6179be8677826ac4c5ca31e6f4760245345d /src/iso19111/io.cpp | |
| parent | f2842ae44c6294b096f8629bd65e0223f0aa145e (diff) | |
| parent | 47dd4dbc40cbba140f4ceb775ea5d5d628fba961 (diff) | |
| download | PROJ-b8a62522b0eca6b4b806471cdff984a28ea1c8fe.tar.gz PROJ-b8a62522b0eca6b4b806471cdff984a28ea1c8fe.zip | |
Merge pull request #1391 from kbevers/noop
Add no-op operation. It does nothing.
Diffstat (limited to 'src/iso19111/io.cpp')
| -rw-r--r-- | src/iso19111/io.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/iso19111/io.cpp b/src/iso19111/io.cpp index 03fb6977..51fda1c1 100644 --- a/src/iso19111/io.cpp +++ b/src/iso19111/io.cpp @@ -5342,6 +5342,11 @@ const std::string &PROJStringFormatter::toString() const { } } } + + if (d->result_.empty()) { + d->appendToResult("+proj=noop"); + } + return d->result_; } |
