diff --git a/src/Airports/GenAirports850/main.cxx b/src/Airports/GenAirports850/main.cxx index f64705e4..d826971a 100644 --- a/src/Airports/GenAirports850/main.cxx +++ b/src/Airports/GenAirports850/main.cxx @@ -39,7 +39,7 @@ using namespace std; // Display usage static void usage( int argc, char **argv ) { TG_LOG(SG_GENERAL, SG_ALERT, "Usage: " << argv[0] << "\n--input=" - << "\n--work=\n[ --start-id=abcd ] [ --restart-id=abcd ] [ --nudge=n ] " + << "\n--work=\n[ --start-id=abcd ] [ --nudge=n ] " << "[--min-lon=] [--max-lon=] [--min-lat=] [--max-lat=] " << "[ --airport=abcd ] [--max-slope=] [--tile=] [--threads] [--threads=x]" << "[--chunk=] [--clear-dem-path] [--dem-path=] [--verbose] [--help] [--log-level=bulk|info|debug|warn|alert]"); @@ -81,8 +81,6 @@ static void help( int argc, char **argv, const string_list& elev_src ) { cout << "a valid airport code eg. --airport-id=KORD, or a starting airport can be specified using --start-id=abcd \n"; cout << "where once again abcd is a valid airport code. In this case, all airports in the file subsequent to the \n"; cout << "start-id are done. This is convenient when re-starting after a previous error. \n"; - cout << "If you want to restart with the airport after a problem icao, use --restart-id=abcd, as this works the same as\n"; - cout << " with the exception that the airport abcd is skipped \n"; cout << "\nAn input area may be specified by lat and lon extent using min and max lat and lon. \n"; //cout << "Alternatively, you may specify a chunk (10 x 10 degrees) or tile (1 x 1 degree) using a string \n"; //cout << "such as eg. w080n40, e000s27. \n"; @@ -154,9 +152,7 @@ int main(int argc, char **argv) std::string input_file = ""; std::string summary_file = "./genapt850.csv"; std::string start_id = ""; - std::string restart_id = ""; std::string airport_id = ""; - std::string last_apt_file = "./last_apt.txt"; int num_threads = 1; int arg_pos; @@ -179,10 +175,6 @@ int main(int argc, char **argv) { start_id = arg.substr(11); } - else if ( arg.find("--restart-id=") == 0 ) - { - restart_id = arg.substr(13); - } else if ( arg.find("--nudge=") == 0 ) { nudge = atoi( arg.substr(8).c_str() ); @@ -191,10 +183,6 @@ int main(int argc, char **argv) { gSnap = atof( arg.substr(7).c_str() ); } - else if ( arg.find("--last_apt_file=") == 0 ) - { - last_apt_file = arg.substr(16); - } else if ( arg.find("--min-lon=") == 0 ) { min.setLongitudeDeg(atof( arg.substr(10).c_str() )); @@ -314,8 +302,6 @@ int main(int argc, char **argv) sgp.append( "dummy" ); sgp.create_dir( 0755 ); - std::string lastaptfile = work_dir+"/last_apt"; - tgRectangle boundingBox(min, max); boundingBox.sanify();