aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/iso19111/coordinateoperation.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/iso19111/coordinateoperation.cpp b/src/iso19111/coordinateoperation.cpp
index 53fa64bf..f429c328 100644
--- a/src/iso19111/coordinateoperation.cpp
+++ b/src/iso19111/coordinateoperation.cpp
@@ -2129,6 +2129,14 @@ std::list<std::string> SingleOperation::validateParameters() const {
}
if (!opv) {
+ if ((methodEPSGCode == EPSG_CODE_METHOD_EQUIDISTANT_CYLINDRICAL ||
+ methodEPSGCode ==
+ EPSG_CODE_METHOD_EQUIDISTANT_CYLINDRICAL_SPHERICAL) &&
+ paramMapping == &paramLatitudeNatOrigin) {
+ // extension of EPSG used by GDAL/PROJ, so we should not
+ // warn on its absence.
+ continue;
+ }
std::string msg("Cannot find expected parameter ");
msg += paramMapping->wkt2_name;
res.emplace_back(msg);