From 59c526be80a5a9413838c89456d962688f073f8b Mon Sep 17 00:00:00 2001 From: Michael Bemmerl Date: Sun, 4 Sep 2022 02:15:16 +0200 Subject: [PATCH] The files on terrain.ardupilot.org are gone. Use firmware.ardupilot.org instead. This fixes #9. --- Brejc.DemLibrary/Srtm3Storage.cs | 2 +- Brejc.DemLibrary/SrtmIndex.cs | 2 +- Srtm2Osm/ConsoleApp.cs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Brejc.DemLibrary/Srtm3Storage.cs b/Brejc.DemLibrary/Srtm3Storage.cs index 353af7a..305551c 100644 --- a/Brejc.DemLibrary/Srtm3Storage.cs +++ b/Brejc.DemLibrary/Srtm3Storage.cs @@ -252,7 +252,7 @@ static public int CalculateCellDegrees (double angle) private string srtm3CachePath; - private static string srtmSource = "https://terrain.ardupilot.org/data/SRTM/"; + private static string srtmSource = "http://firmware.ardupilot.org/SRTM/"; private IActivityLogger activityLogger = new ConsoleActivityLogger(); } diff --git a/Brejc.DemLibrary/SrtmIndex.cs b/Brejc.DemLibrary/SrtmIndex.cs index 17fd889..75a06bd 100644 --- a/Brejc.DemLibrary/SrtmIndex.cs +++ b/Brejc.DemLibrary/SrtmIndex.cs @@ -59,7 +59,7 @@ public static string SrtmSource } } - private static string srtmSource = "https://terrain.ardupilot.org/data/SRTM/"; + private static string srtmSource = "http://firmware.ardupilot.org/SRTM/"; private static string fileNamePattern = "href=\"([A-Za-z0-9]*\\.hgt\\.zip)\""; diff --git a/Srtm2Osm/ConsoleApp.cs b/Srtm2Osm/ConsoleApp.cs index f0b50e3..147d75a 100644 --- a/Srtm2Osm/ConsoleApp.cs +++ b/Srtm2Osm/ConsoleApp.cs @@ -61,7 +61,7 @@ public override void ShowHelp () Console.Out.WriteLine (" immediately upon discovery. This prevents 'out-of-memory' errors."); Console.Out.WriteLine ("-corrxy : correction values to shift contours"); Console.Out.WriteLine ("-source : base URL used for download"); - Console.Out.WriteLine (" (default 'https://terrain.ardupilot.org/data/SRTM/')"); + Console.Out.WriteLine (" (default 'http://firmware.ardupilot.org/SRTM/')"); Console.Out.WriteLine ("-maxwaynodes : specifies the maximum number of nodes in a single way"); Console.Out.WriteLine ("-firstnodeid : specifies the first ID of a node (default: 2^63-1)"); Console.Out.WriteLine ("-firstwayid : specifies the first ID of a way (default: 2^63-1)");