Skip to content

Commit

Permalink
The files on terrain.ardupilot.org are gone. Use firmware.ardupilot.o…
Browse files Browse the repository at this point in the history
…rg instead.

This fixes #9.
  • Loading branch information
mibe committed Sep 4, 2022
1 parent 601cff5 commit 59c526b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Brejc.DemLibrary/Srtm3Storage.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
Expand Down
2 changes: 1 addition & 1 deletion Brejc.DemLibrary/SrtmIndex.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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)\"";

Expand Down
2 changes: 1 addition & 1 deletion Srtm2Osm/ConsoleApp.cs
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public override void ShowHelp ()
Console.Out.WriteLine (" immediately upon discovery. This prevents 'out-of-memory' errors.");
Console.Out.WriteLine ("-corrxy <corrLng> <corrLat>: correction values to shift contours");
Console.Out.WriteLine ("-source <url>: 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 <count>: specifies the maximum number of nodes in a single way");
Console.Out.WriteLine ("-firstnodeid <id>: specifies the first ID of a node (default: 2^63-1)");
Console.Out.WriteLine ("-firstwayid <id>: specifies the first ID of a way (default: 2^63-1)");
Expand Down

0 comments on commit 59c526b

Please sign in to comment.