/// <summary> /// Gets the missing cell. /// </summary> public static bool GetMissingCell(string path, string name) { var filename = name + ".hgt.zip"; var local = System.IO.Path.Combine(path, filename); Log($"Downloading {name} ..."); foreach (var continent in CONTINENTS) { if (SourceHelpers.Download(local, SOURCE + continent + "/" + filename)) { return(true); } } return(false); }
/// <summary> /// Gets the missing cell. /// </summary> public static bool GetMissingCell(string path, string name) { var filename = name + ".hgt.zip"; var local = System.IO.Path.Combine(path, filename); var Logger = LogProvider.For <SRTMData>(); Logger.Info("Downloading {0} ...", name); foreach (var continent in CONTINENTS) { if (SourceHelpers.Download(local, SOURCE + continent + "/" + filename)) { return(true); } } return(false); }