Skip to content

Commit

Permalink
disable bounds checking in DEM widget for now and update failed downl…
Browse files Browse the repository at this point in the history
…oad message with info about data coverage
  • Loading branch information
nwagenbrenner committed Jun 13, 2024
1 parent b99a49a commit 1780560
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/gui/WidgetDownloadDEM.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -238,12 +238,12 @@ void WidgetDownloadDEM::saveDEM()
noBoundsError2.setText("Please select an area on the map.");
noBoundsError2.exec();
}
else if(!demBoundsCheck())
{
QMessageBox demBoundsError;
demBoundsError.setText("Area is outside data bounds. Please select new data Source or new Area.");
demBoundsError.exec();
}
//else if(!demBoundsCheck())
//{
// QMessageBox demBoundsError;
// demBoundsError.setText("Area is outside data bounds. Please select new data Source or new Area.");
// demBoundsError.exec();
//}
else if((fileSize/1024) > 50)
{
QMessageBox demBoundsError;
Expand Down Expand Up @@ -302,7 +302,7 @@ void WidgetDownloadDEM::updateProgress()

if(result < 0)
{
progressBar->setLabelText("The surface data download failed. \nThis normally happens when the server that provides the surface data is down or under high usage. \nPlease try again later or try a different data source.");
progressBar->setLabelText("The surface data download failed. \nThis normally happens when either the data source doesn't cover your region or the server that provides the surface data is down or under high usage. \nPlease try again later or try a different data source.");
progressBar->setRange(0,1);
progressBar->setValue( 0 );
progressBar->setCancelButtonText("Close");
Expand Down

0 comments on commit 1780560

Please sign in to comment.