aboutsummaryrefslogtreecommitdiff
path: root/src/coordinatesystem.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/coordinatesystem.cpp')
-rw-r--r--src/coordinatesystem.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/coordinatesystem.cpp b/src/coordinatesystem.cpp
index 1c84cf2c..f8d2d2b3 100644
--- a/src/coordinatesystem.cpp
+++ b/src/coordinatesystem.cpp
@@ -460,7 +460,7 @@ CoordinateSystem::axisList() PROJ_CONST_DEFN {
void CoordinateSystem::_exportToWKT(
io::WKTFormatter *formatter) const // throw(FormattingException)
{
- if (!formatter->outputAxis()) {
+ if (formatter->outputAxis() != io::WKTFormatter::OutputAxisRule::YES) {
return;
}
const bool isWKT2 = formatter->version() == io::WKTFormatter::Version::WKT2;