aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2020-10-18 18:42:31 +0200
committerGitHub <noreply@github.com>2020-10-18 18:42:31 +0200
commit2357d264d477c5eee363514fb094772980509726 (patch)
treec4bdcbe7d36d961a9a55241844fe1977d3434aad /include
parent3a2df3462c851b7dc823b1cd84fc8a61dc9c2d08 (diff)
parentffe1922d54d4ce379c96f5472dba2e76223348f1 (diff)
downloadPROJ-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.hpp4
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;