diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2019-03-25 12:22:33 +0100 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2019-03-25 12:22:33 +0100 |
| commit | 66774791d16d1b197911e595aaaceb9690c8ca14 (patch) | |
| tree | ba142739c330bbfa6db3492f36f9bf38cdac5d78 /src/apps/projinfo.cpp | |
| parent | 85b1d84934d95c740f549c55c196a92487ff45a8 (diff) | |
| download | PROJ-66774791d16d1b197911e595aaaceb9690c8ca14.tar.gz PROJ-66774791d16d1b197911e595aaaceb9690c8ca14.zip | |
projinfo.cpp: formatting fix
Diffstat (limited to 'src/apps/projinfo.cpp')
| -rw-r--r-- | src/apps/projinfo.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/apps/projinfo.cpp b/src/apps/projinfo.cpp index ae97b9c1..4c99d7ce 100644 --- a/src/apps/projinfo.cpp +++ b/src/apps/projinfo.cpp @@ -77,7 +77,8 @@ struct OutputOptions { static void usage() { std::cerr - << "usage: projinfo [-o formats] [-k crs|operation|ellipsoid] [--summary] [-q]" + << "usage: projinfo [-o formats] [-k crs|operation|ellipsoid] " + "[--summary] [-q]" << std::endl << " ([--area name_or_code] | " "[--bbox west_long,south_lat,east_long,north_lat]) " @@ -138,7 +139,8 @@ static std::string c_ify_string(const std::string &str) { static BaseObjectNNPtr buildObject( DatabaseContextPtr dbContext, const std::string &user_string, - const std::string &kind, const std::string &context, bool buildBoundCRSToWGS84, + const std::string &kind, const std::string &context, + bool buildBoundCRSToWGS84, CoordinateOperationContext::IntermediateCRSUse allowUseIntermediateCRS, bool quiet) { BaseObjectPtr obj; @@ -179,8 +181,7 @@ static BaseObjectNNPtr buildObject( tokens[1]; obj = createFromUserInput(urn, dbContext).as_nullable(); } else if (kind == "ellipsoid" && tokens.size() == 2) { - auto urn = "urn:ogc:def:ellipsoid:" + tokens[0] + "::" + - tokens[1]; + auto urn = "urn:ogc:def:ellipsoid:" + tokens[0] + "::" + tokens[1]; obj = createFromUserInput(urn, dbContext).as_nullable(); } else { // Convenience to be able to use C escaped strings... |
