From abece63b5d42cbf271778ab7971375ae1ad05c8a Mon Sep 17 00:00:00 2001
From: Christian Schmitt <chris@ilovelinux.de>
Date: Mon, 6 Aug 2012 12:58:11 +0200
Subject: [PATCH] Put default max_slope value for airports back to 2%. We have
 a command line option to increase this, if necessary

---
 src/Airports/GenAirports/main.cxx    | 2 +-
 src/Airports/GenAirports850/main.cxx | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/Airports/GenAirports/main.cxx b/src/Airports/GenAirports/main.cxx
index 88930704..783efb36 100644
--- a/src/Airports/GenAirports/main.cxx
+++ b/src/Airports/GenAirports/main.cxx
@@ -60,7 +60,7 @@ using std::endl;
 
 
 int nudge = 10;
-double slope_max = 0.2;
+double slope_max = 0.02;
 
 static int is_in_range( string_list & runway_list, float min_lat, float max_lat, float min_lon, float max_lon );
 
diff --git a/src/Airports/GenAirports850/main.cxx b/src/Airports/GenAirports850/main.cxx
index 31f7c187..5421431c 100644
--- a/src/Airports/GenAirports850/main.cxx
+++ b/src/Airports/GenAirports850/main.cxx
@@ -118,7 +118,7 @@ static void help( int argc, char **argv, const string_list& elev_src ) {
 
 // TODO: where do these belong
 int nudge = 10;
-double slope_max = 0.2;
+double slope_max = 0.02;
 double gSnap = 0.00000001;      // approx 1 mm
 
 // For creating a buffered stream to write to the socket