Skip to content

Commit

Permalink
fix GMTED bounds checking in GUI download widget
Browse files Browse the repository at this point in the history
  • Loading branch information
nwagenbrenner committed May 31, 2024
1 parent c737567 commit de33a03
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/gui/WidgetDownloadDEM.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -367,8 +367,8 @@ void WidgetDownloadDEM::updateDEMSource(int index)
#ifdef HAVE_GMTED
case 1: //GMTED
fetcher = FetchFactory::GetSurfaceFetch(FetchFactory::WORLD_GMTED, FindDataPath("/data"));
//northDEMBound = world_gmted_northBound;
//southDEMBound = world_gmted_southBound;
northDEMBound = world_gmted_northBound;
southDEMBound = world_gmted_southBound;
currentResolution = (fetcher->GetXRes() * 111325);
currentSuffix = "tif";
currentSaveAsDesc = "Elevation files (*.tif)";
Expand Down

0 comments on commit de33a03

Please sign in to comment.