From 1409b0031709598204d5d81cf9eb7d433545025d Mon Sep 17 00:00:00 2001 From: Even Rouault Date: Tue, 14 Apr 2020 23:58:51 +0200 Subject: createOperations(): do not remove ballpark transformation if there are only grid based operations, even if they cover the whole area of use (fixes #2143) --- include/proj/coordinateoperation.hpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include') diff --git a/include/proj/coordinateoperation.hpp b/include/proj/coordinateoperation.hpp index c7459416..686a0c73 100644 --- a/include/proj/coordinateoperation.hpp +++ b/include/proj/coordinateoperation.hpp @@ -1759,6 +1759,10 @@ class PROJ_GCC_DLL CoordinateOperationContext { PROJ_DLL void setDesiredAccuracy(double accuracy); + PROJ_DLL void setAllowBallparkTransformations(bool allow); + + PROJ_DLL bool getAllowBallparkTransformations() const; + /** Specify how source and target CRS extent should be used to restrict * candidate operations (only taken into account if no explicit area of * interest is specified. */ -- cgit v1.2.3