Elevations Unzip Error
Brought to you by:
ringler
The elevations tool does not work anymore. It downloads zips files with 1kb and then throws an error while extracting it. The tools outputs the link to the file it trys to download. Maybe already there is the error: The tool assumes "http://dds.cr.usgs.gov/srtm/version2_1/SRTM3/" instead of "https://dds.cr.usgs.gov/srtm/version2_1/SRTM3/", which now starts with "https" instead of "http". Maybe the program can't handle the redirect
Actually i decompiled the jar, found the link, replaced it, recompiled and it worked. Just replace the line
private String baseURI = "http://dds.cr.usgs.gov/srtm/version2_1/";
in net.sourceforge.gpstools.dem.HgtElevationModel.java with
private String baseURI = "https://dds.cr.usgs.gov/srtm/version2_1/";
:)
Hi Sepel. Thank you for the bug report and the fix. I incorporated the fix in the new 6.9.8 release.