aboutsummaryrefslogtreecommitdiff
path: root/include
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-15 00:06:48 +0200
commit5078ce353450fc8746f508e1285d047d0ed6c31e (patch)
tree46586072f55388151dd00b83e428897c06078ca8 /include
parentd462db642c59f58950d1ba26d2998263c10c4ee8 (diff)
downloadPROJ-5078ce353450fc8746f508e1285d047d0ed6c31e.tar.gz
PROJ-5078ce353450fc8746f508e1285d047d0ed6c31e.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')
-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. */