aboutsummaryrefslogtreecommitdiff
path: root/include/proj/coordinateoperation.hpp
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2020-04-14 23:58:51 +0200
committerEven Rouault <even.rouault@spatialys.com>2020-04-14 23:58:51 +0200
commit1409b0031709598204d5d81cf9eb7d433545025d (patch)
tree713a259d2a1694103c565098870c60ee9980f08a /include/proj/coordinateoperation.hpp
parent767a9976587491f3a90b744376f8d5601c803e4b (diff)
downloadPROJ-1409b0031709598204d5d81cf9eb7d433545025d.tar.gz
PROJ-1409b0031709598204d5d81cf9eb7d433545025d.zip
createOperations(): do not remove ballpark transformation if there are only grid based operations, even if they cover the whole area of use (fixes #2143)
Diffstat (limited to 'include/proj/coordinateoperation.hpp')
-rw-r--r--include/proj/coordinateoperation.hpp4
1 files changed, 4 insertions, 0 deletions
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. */