From 9f57a493820cc1739187874268c747cab946ecef Mon Sep 17 00:00:00 2001 From: Christian Schmitt Date: Mon, 27 Feb 2012 11:01:19 +0100 Subject: [PATCH] Correctly output the numbers of built features --- src/Airports/GenAirports850/airport.cxx | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/Airports/GenAirports850/airport.cxx b/src/Airports/GenAirports850/airport.cxx index c8872009..637c4c06 100644 --- a/src/Airports/GenAirports850/airport.cxx +++ b/src/Airports/GenAirports850/airport.cxx @@ -448,7 +448,7 @@ void Airport::BuildBtg(const string& root, const string_list& elev_src ) { for ( unsigned int i=0; iGetDescription() ); + SG_LOG(SG_GENERAL, SG_INFO, "Build Feature Poly " << i + 1 << " of " << features.size() << " : " << features[i]->GetDescription() ); #if 0 if ( i == 22 ) { @@ -473,7 +473,7 @@ void Airport::BuildBtg(const string& root, const string_list& elev_src ) // Build runways next for ( unsigned int i=0; iIsPrecision() ) { @@ -495,7 +495,7 @@ void Airport::BuildBtg(const string& root, const string_list& elev_src ) { for ( unsigned int i=0; iBuildBtg( altitude, &rwy_lights ); } } @@ -505,7 +505,7 @@ void Airport::BuildBtg(const string& root, const string_list& elev_src ) { for ( unsigned int i=0; iBuildBtg( altitude, &rwy_polys, &rwy_tps, &rwy_lights, &accum, NULL, NULL ); @@ -522,7 +522,7 @@ void Airport::BuildBtg(const string& root, const string_list& elev_src ) { for ( unsigned int i=0; iGetDescription()); + SG_LOG(SG_GENERAL, SG_INFO, "Build Pavement " << i + 1 << " of " << pavements.size() << " : " << pavements[i]->GetDescription()); #if 0 if (i == 30) { @@ -768,7 +768,7 @@ void Airport::BuildBtg(const string& root, const string_list& elev_src ) // tesselate the polygons and prepair them for final output for ( unsigned int i = 0; i < rwy_polys.size(); ++i ) { - SG_LOG(SG_GENERAL, SG_INFO, "Tesselating runway poly = " << i << " of " << rwy_polys.size() << " : flag = " << rwy_polys[i].get_flag()); + SG_LOG(SG_GENERAL, SG_INFO, "Tesselating runway poly = " << i + 1 << " of " << rwy_polys.size() << " : flag = " << rwy_polys[i].get_flag()); TGPolygon poly = rwy_polys[i].get_poly(); @@ -804,7 +804,7 @@ void Airport::BuildBtg(const string& root, const string_list& elev_src ) // tesselate the polygons and prepair them for final output for ( unsigned int i = 0; i < pvmt_polys.size(); ++i ) { - SG_LOG(SG_GENERAL, SG_INFO, "Tesselating pavement poly = " << i << " of " << pvmt_polys.size() << " : flag = " << pvmt_polys[i].get_flag()); + SG_LOG(SG_GENERAL, SG_INFO, "Tesselating pavement poly = " << i + 1 << " of " << pvmt_polys.size() << " : flag = " << pvmt_polys[i].get_flag()); TGPolygon poly = pvmt_polys[i].get_poly(); @@ -840,7 +840,7 @@ void Airport::BuildBtg(const string& root, const string_list& elev_src ) // tesselate the polygons and prepair them for final output for ( unsigned int i = 0; i < line_polys.size(); ++i ) { - SG_LOG(SG_GENERAL, SG_INFO, "Tesselating line poly = " << i << " of " << line_polys.size() << " : flag = " << line_polys[i].get_flag()); + SG_LOG(SG_GENERAL, SG_INFO, "Tesselating line poly = " << i + 1 << " of " << line_polys.size() << " : flag = " << line_polys[i].get_flag()); TGPolygon poly = line_polys[i].get_poly();