Ref T786, fixed weather sample

* RR found that no alt value means a huge number of grid points is parsed
* see https://discordapp.com/channels/539048679160676382/539925070550794240/701762348506939693
This commit is contained in:
Klaus Basan
2020-04-20 17:56:06 +02:00
committed by Mat Sutcliffe
parent 0a2b25e409
commit 5ef25d4a41
3 changed files with 11 additions and 15 deletions

View File

@@ -48,6 +48,7 @@ CWeatherDataPrinter::CWeatherDataPrinter(QObject *parent) : QObject(parent)
void CWeatherDataPrinter::fetchAndPrintWeatherData(const CCoordinateGeodetic &position)
{
QTextStream qtout(stdout);
qtout << "Position:" << position.toQString(true) << endl;
qtout << "Fetching weather data. This may take a while..." << endl;
CWeatherGrid weatherGrid { { "", position } };