aboutsummaryrefslogtreecommitdiff
path: root/src/iso19111/c_api.cpp
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2019-01-05 19:56:03 +0100
committerEven Rouault <even.rouault@spatialys.com>2019-01-05 19:56:03 +0100
commit0fbe7cf33c308c4b7c81e65e18b90e9d773ba333 (patch)
treee0bdd52d3ebb96edd97df9a8e385fc9af6dd15c2 /src/iso19111/c_api.cpp
parent3ea468222fdabdae3aa5b47439d6b3bfb0a93c8e (diff)
parentb62fdee0f34d960527af8fb0a8bf6344fcf78d4b (diff)
downloadPROJ-0fbe7cf33c308c4b7c81e65e18b90e9d773ba333.tar.gz
PROJ-0fbe7cf33c308c4b7c81e65e18b90e9d773ba333.zip
Merge remote-tracking branch 'rouault/gdalbarn'
Diffstat (limited to 'src/iso19111/c_api.cpp')
-rw-r--r--src/iso19111/c_api.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/iso19111/c_api.cpp b/src/iso19111/c_api.cpp
index c3c2fa39..70488de4 100644
--- a/src/iso19111/c_api.cpp
+++ b/src/iso19111/c_api.cpp
@@ -1245,6 +1245,8 @@ const char *proj_as_wkt(PJ_CONTEXT *ctx, const PJ *obj, PJ_WKT_TYPE type,
? WKTFormatter::OutputAxisRule::YES
: WKTFormatter::OutputAxisRule::NO);
}
+ } else if ((value = getOptionValue(*iter, "STRICT="))) {
+ formatter->setStrict(ci_equal(value, "YES"));
} else {
std::string msg("Unknown option :");
msg += *iter;