aboutsummaryrefslogtreecommitdiff
path: root/src/apps/projinfo.cpp
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2021-03-03 17:45:53 +0100
committerEven Rouault <even.rouault@spatialys.com>2021-03-03 17:45:53 +0100
commit095731d53405309c38bebe31af51d141f6319f1a (patch)
treeefa9f1e916c1c1373298900ac4e66702beec8f35 /src/apps/projinfo.cpp
parent9e2eb067585b9a61b2b5e636547ac80dd4d01d06 (diff)
downloadPROJ-095731d53405309c38bebe31af51d141f6319f1a.tar.gz
PROJ-095731d53405309c38bebe31af51d141f6319f1a.zip
Reformat code with clang-format-10 from ubuntu 20.04
Diffstat (limited to 'src/apps/projinfo.cpp')
-rw-r--r--src/apps/projinfo.cpp13
1 files changed, 6 insertions, 7 deletions
diff --git a/src/apps/projinfo.cpp b/src/apps/projinfo.cpp
index 8d389019..8c266e94 100644
--- a/src/apps/projinfo.cpp
+++ b/src/apps/projinfo.cpp
@@ -187,8 +187,8 @@ static BaseObjectNNPtr buildObject(
try {
auto tokens = split(l_user_string, ':');
if (kind == "operation" && tokens.size() == 2) {
- auto urn = "urn:ogc:def:coordinateOperation:" + tokens[0] + "::" +
- tokens[1];
+ auto urn = "urn:ogc:def:coordinateOperation:" + tokens[0] +
+ "::" + tokens[1];
obj = createFromUserInput(urn, dbContext).as_nullable();
} else if ((kind == "ellipsoid" || kind == "datum" ||
kind == "ensemble") &&
@@ -1214,11 +1214,10 @@ int main(int argc, char **argv) {
if (crs) {
try {
auto res = crs->identify(
- dbContext
- ? AuthorityFactory::create(
- NN_NO_CHECK(dbContext), authority)
- .as_nullable()
- : nullptr);
+ dbContext ? AuthorityFactory::create(
+ NN_NO_CHECK(dbContext), authority)
+ .as_nullable()
+ : nullptr);
std::cout << std::endl;
std::cout
<< "Identification match count: " << res.size()