diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2020-10-18 18:42:31 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-10-18 18:42:31 +0200 |
| commit | 2357d264d477c5eee363514fb094772980509726 (patch) | |
| tree | c4bdcbe7d36d961a9a55241844fe1977d3434aad /include | |
| parent | 3a2df3462c851b7dc823b1cd84fc8a61dc9c2d08 (diff) | |
| parent | ffe1922d54d4ce379c96f5472dba2e76223348f1 (diff) | |
| download | PROJ-2357d264d477c5eee363514fb094772980509726.tar.gz PROJ-2357d264d477c5eee363514fb094772980509726.zip | |
Merge pull request #2381 from rouault/fix_1453
Add multi-line PROJ string export capability, and use it by default in projinfo (unless --single-line is specified) (fixes #1543)
Diffstat (limited to 'include')
| -rw-r--r-- | include/proj/io.hpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/proj/io.hpp b/include/proj/io.hpp index 9a4c7f9d..20dcedfe 100644 --- a/include/proj/io.hpp +++ b/include/proj/io.hpp @@ -387,6 +387,10 @@ class PROJ_GCC_DLL PROJStringFormatter { PROJ_DLL ~PROJStringFormatter(); //! @endcond + PROJ_DLL PROJStringFormatter &setMultiLine(bool multiLine) noexcept; + PROJ_DLL PROJStringFormatter &setIndentationWidth(int width) noexcept; + PROJ_DLL PROJStringFormatter &setMaxLineLength(int maxLineLength) noexcept; + PROJ_DLL void setUseApproxTMerc(bool flag); PROJ_DLL const std::string &toString() const; |
