From 386b0fca11694cc4bc94abf72a629b30a0ab0d4b Mon Sep 17 00:00:00 2001 From: Adam Wulkiewicz Date: Tue, 5 Nov 2019 13:47:47 +0100 Subject: [PATCH] [strategies] Do not include karney strategy and parameters by default. The reasons are: - karney formulas expect degrees so they won't work with strategies right now - karney_inverse requires C++11 --- .../geometry/strategies/geographic/parameters.hpp | 13 +++++++------ include/boost/geometry/strategies/strategies.hpp | 2 +- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/include/boost/geometry/strategies/geographic/parameters.hpp b/include/boost/geometry/strategies/geographic/parameters.hpp index 7c82902dd..f488233ed 100644 --- a/include/boost/geometry/strategies/geographic/parameters.hpp +++ b/include/boost/geometry/strategies/geographic/parameters.hpp @@ -1,6 +1,6 @@ // Boost.Geometry -// Copyright (c) 2017, Oracle and/or its affiliates. +// Copyright (c) 2017-2019, Oracle and/or its affiliates. // Contributed and/or modified by Adam Wulkiewicz, on behalf of Oracle // Use, modification and distribution is subject to the Boost Software License, @@ -15,8 +15,8 @@ #include #include #include -#include -#include +//#include +//#include #include #include @@ -137,7 +137,7 @@ struct vincenty > {}; }; - +/* struct karney { template @@ -178,7 +178,7 @@ struct karney > {}; }; - +*/ template struct default_order { @@ -203,11 +203,12 @@ template<> struct default_order : boost::mpl::integral_c {}; - +/* template<> struct default_order : boost::mpl::integral_c {}; +*/ }}} // namespace boost::geometry::strategy diff --git a/include/boost/geometry/strategies/strategies.hpp b/include/boost/geometry/strategies/strategies.hpp index c3df44545..65127f825 100644 --- a/include/boost/geometry/strategies/strategies.hpp +++ b/include/boost/geometry/strategies/strategies.hpp @@ -118,7 +118,7 @@ #include #include #include -#include +//#include #include #include #include