diff options
| -rw-r--r-- | src/iso19111/factory.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/iso19111/factory.cpp b/src/iso19111/factory.cpp index 211eb586..8d9742d5 100644 --- a/src/iso19111/factory.cpp +++ b/src/iso19111/factory.cpp @@ -3556,6 +3556,12 @@ operation::CoordinateOperationNNPtr AuthorityFactory::createCoordinateOperation( } else { totalAcc += acc; } + } else if (dynamic_cast<const operation::Conversion *>( + op.get())) { + // A conversion is perfectly accurate. + if (totalAcc < 0) { + totalAcc = 0; + } } else { totalAcc = -1; break; |
