diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2018-12-06 16:32:02 +0100 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2018-12-06 16:32:02 +0100 |
| commit | 6afbfc737384a4f58f2d5f8bc3bde69dacf9b355 (patch) | |
| tree | 4245f2de04da50e657d0c856903f68c148421a77 /src/coordinatesystem.cpp | |
| parent | a9ef3a229c6fef5ef8a05ba521a0237f2ffa6aa6 (diff) | |
| download | PROJ-6afbfc737384a4f58f2d5f8bc3bde69dacf9b355.tar.gz PROJ-6afbfc737384a4f58f2d5f8bc3bde69dacf9b355.zip | |
Fine tune axis denomination when exporting to WKT1_GDAL
Diffstat (limited to 'src/coordinatesystem.cpp')
| -rw-r--r-- | src/coordinatesystem.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/coordinatesystem.cpp b/src/coordinatesystem.cpp index f1220878..2305e6c4 100644 --- a/src/coordinatesystem.cpp +++ b/src/coordinatesystem.cpp @@ -325,7 +325,13 @@ void CoordinateSystemAxis::_exportToWKT(io::WKTFormatter *formatter, int order, axisDesignation = tolower(axisName.substr(0, 1)) + axisName.substr(1); } else { - axisDesignation = axisName; + if (axisName == "Geodetic latitude") { + axisDesignation = "Latitude"; + } else if (axisName == "Geodetic longitude") { + axisDesignation = "Longitude"; + } else { + axisDesignation = axisName; + } } } |
