paparazzi/paparazzi — Issue #143: Change the functionality of the SRTM error window
Author: rbdavison
Created: 2012-03-01 10:44:55+00:00
State: open

Currently if you try to load SRTM data and the data file doesn't exist it throws up an error window.
"SRTM tile N43E001 not found: download http://..../N43E001.hgt.zip in directory data/srtm/"

There is capability already build into the make files to "build" the file for the user.
i.e. from the $PAPARAZZI_SRC the user can do
make N43E001.hgt.zip and it will download the file into the data/srtm/ directory

We should change the error window to have a message and two buttons.
"The tile X does not exist. Would you like to download it now"
"OK" "Cancel"

If OK is pressed then it should execute the command
make X.hgt.zip from the directory $PAPARAZZI_SRC or $PAPARAZZI_HOME
Then the tile should be loaded.
This should be repeated for each tile that isn't present.

If Cancel is pressed then the process of loading the SRTM tiles should be stopped.